Replit: Updating package configuration
--> python3 -m poetry install
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
EnvCommandError
Command ['/home/runner/GnG/venv/bin/python', '-'] errored with the following return code 1, and output:
Traceback (most recent call last):
File "<stdin>", line 52, in <module>
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/platform.py", line 929, in machine
return uname().machine
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/platform.py", line 858, in uname
processor = _syscmd_uname('-p', '')
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/platform.py", line 614, in _syscmd_uname
output = subprocess.check_output(('uname', option),
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/runner/GnG/venv/lib/python3.8/site-packages/run/__init__.py", line 145, in __new__
process = cls.create_process(command, stdin, cwd=cwd, env=env, shell=shell)
File "/home/runner/GnG/venv/lib/python3.8/site-packages/run/__init__.py", line 121, in create_process
shlex.split(command),
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/shlex.py", line 311, in split
return list(lex)
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/shlex.py", line 300, in __next__
token = self.get_token()
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/shlex.py", line 109, in get_token
raw = self.read_token()
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/shlex.py", line 140, in read_token
nextchar = self.instream.read(1)
AttributeError: 'tuple' object has no attribute 'read'
input was : import json
import os
import platform
import sys
import sysconfig
INTERPRETER_SHORT_NAMES = {
"python": "py",
"cpython": "cp",
"pypy": "pp",
"ironpython": "ip",
"jython": "jy",
}
def interpreter_version():
version = sysconfig.get_config_var("interpreter_version")
if version:
version = str(version)
else:
version = _version_nodot(sys.version_info[:2])
return version
def _version_nodot(version):
# type: (PythonVersion) -> str
if any(v >= 10 for v in version):
sep = "_"
else:
sep = ""
return sep.join(map(str, version))
if hasattr(sys, "implementation"):
info = sys.implementation.version
iver = "{0.major}.{0.minor}.{0.micro}".format(info)
kind = info.releaselevel
if kind != "final":
iver += kind[0] + str(info.serial)
implementation_name = sys.implementation.name
else:
iver = "0"
implementation_name = platform.python_implementation().lower()
env = {
"implementation_name": implementation_name,
Traceback (most recent call last):
File "main.py", line 1, in <module>
import discord
File "/home/runner/GnG/venv/lib/python3.8/site-packages/discord/__init__.py", line 23, in <module>
from .client import *
File "/home/runner/GnG/venv/lib/python3.8/site-packages/discord/client.py", line 47, in <module>
import aiohttp
File "/home/runner/GnG/venv/lib/python3.8/site-packages/aiohttp/__init__.py", line 6, in <module>
from .client import (
File "/home/runner/GnG/venv/lib/python3.8/site-packages/aiohttp/client.py", line 36, in <module>
from . import hdrs, http, payload
File "/home/runner/GnG/venv/lib/python3.8/site-packages/aiohttp/http.py", line 7, in <module>
from .http_parser import (
File "/home/runner/GnG/venv/lib/python3.8/site-packages/aiohttp/http_parser.py", line 29, in <module>
from .helpers import NO_EXTENSIONS, BaseTimerContext
File "/home/runner/GnG/venv/lib/python3.8/site-packages/aiohttp/helpers.py", line 58, in <module>
IS_MACOS = platform.system() == "Darwin"
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/platform.py", line 892, in system
return uname().system
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/platform.py", line 858, in uname
processor = _syscmd_uname('-p', '')
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/platform.py", line 614, in _syscmd_uname
output = subprocess.check_output(('uname', option),
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/runner/GnG/venv/lib/python3.8/site-packages/run/__init__.py", line 145, in __new__
process = cls.create_process(command, stdin, cwd=cwd, env=env, shell=shell)
File "/home/runner/GnG/venv/lib/python3.8/site-packages/run/__init__.py", line 121, in create_process
shlex.split(command),
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/shlex.py", line 311, in split
return list(lex)
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/shlex.py", line 300, in __next__
token = self.get_token()
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/shlex.py", line 109, in get_token
raw = self.read_token()
File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/shlex.py", line 140, in read_token
nextchar = self.instream.read(1)
AttributeError: 'tuple' object has no attribute 'read'