Ask coding questions

← Back to all posts
Pygame error
MURUX

Replit: Updating package configuration

--> python3 -m poetry lock
Updating dependencies
Resolving dependencies...
--> python3 -m poetry install
Installing dependencies from lock file

Package operations: 26 installs, 6 updates, 1 removal

• Removing future (0.18.2)
• Installing asgiref (3.4.1)
• Installing pytz (2021.1)
• Installing django (3.2.5)
• Updating packaging (20.9 -> 21.0)
• Updating pillow (8.2.0 -> 8.3.1)
• Installing smartypants (2.0.1)
• Installing bleach (3.3.1)
• Installing django-filter (2.4.0)
• Installing easy-thumbnails (2.7.1)
• Installing tango-voting (0.4.1)
• Installing typogrify (2.0.7)
• Installing untangle (1.1.1)
• Updating python-dateutil (2.8.1 -> 2.4.0)
• Installing tango-shared-core (1.5.0)
• Installing mpmath (1.2.1)
• Updating numpy (1.20.3 -> 1.21.1)
• Installing python-card-me (0.9.1)
• Installing tango-comments (0.10.0)
• Installing tango-photos (0.5.1)
• Installing twitter (1.19.3)
• Installing altgraph (0.17)
• Updating matplotlib (3.4.2 -> 3.3.4)
• Installing pyinstaller-hooks-contrib (2021.2)
• Updating scipy (1.4.1 -> 1.6.1)
• Installing sympy (1.8)
• Installing tango-articles (0.13.0)
• Installing tango-capo (0.3.2)
• Installing tango-contact-manager (0.10.0)
• Installing tango-happenings (0.15.0)

EnvCommandError

Command ['/opt/virtualenvs/python3/bin/pip', 'install', '--no-deps', '/home/runner/.cache/pypoetry/artifacts/81/d4/46/4513fb2b2d5b884b0e7e02745bc05f5cfaea4956e2faea1198baa35736/sympy-1.8-py3-none-any.whl'] errored with the following return code -9, and output:
Processing /home/runner/.cache/pypoetry/artifacts/81/d4/46/4513fb2b2d5b884b0e7e02745bc05f5cfaea4956e2faea1198baa35736/sympy-1.8-py3-none-any.whl
Installing collected packages: sympy

at /opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/utils/env.py:1075 in run
1071│ output = subprocess.check_output(
1072│ cmd, stderr=subprocess.STDOUT, **kwargs
1073│ )
1074│ except CalledProcessError as e:
→ 1075│ raise EnvCommandError(e, input=input
)
1076│
1077│ return decode(output)
1078│
1079│ def execute(self, bin, *args, **kwargs):

exit status 1

Replit: Package operation failed.

Replit: Updating package configuration

--> python3 -m poetry add pygame
Using version ^2.0.1 for pygame

Updating dependencies
Resolving dependencies...

Writing lock file

Package operations: 4 installs, 0 updates, 0 removals

• Installing sympy (1.8)

EnvCommandError

Command ['/opt/virtualenvs/python3/bin/pip', 'install', '--no-deps', 'file:///home/runner/.cache/pypoetry/artifacts/81/d4/46/4513fb2b2d5b884b0e7e02745bc05f5cfaea4956e2faea1198baa35736/sympy-1.8-py3-none-any.whl'] errored with the following return code -9, and output:
Processing /home/runner/.cache/pypoetry/artifacts/81/d4/46/4513fb2b2d5b884b0e7e02745bc05f5cfaea4956e2faea1198baa35736/sympy-1.8-py3-none-any.whl
Installing collected packages: sympy

at /opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/utils/env.py:1075 in run
1071│ output = subprocess.check_output(
1072│ cmd, stderr=subprocess.STDOUT, **kwargs
1073│ )
1074│ except CalledProcessError as e:
→ 1075│ raise EnvCommandError(e, input=input
)
1076│
1077│ return decode(output)
1078│
1079│ def execute(self, bin, *args, **kwargs):

Failed to add packages, reverting the pyproject.toml file to its original content.
exit status 1

Replit: Package operation failed.

Why am I getting this when I import Pygame?

Voters
MURUX
Comments
hotnewtop
MURUX

QuickV

We can't tell if we can't see your code :P