Skip to content
Sign upLog in
← Back to Community

Replit: Package operation failed.

Profile icon
Filiprar

Replit: Package operation failed.

Code + Foto:

Replit: Updating package configuration --> python3 -m poetry add flask-sqlalchemy flask-wtf wtforms email-validator flask-bcrypt flask-login Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/__main__.py", line 5, in <module> from .console import main File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/console/__init__.py", line 1, in <module> from .application import Application File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/console/application.py", line 7, in <module> from .commands.about import AboutCommand File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/console/commands/__init__.py", line 4, in <module> from .check import CheckCommand File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/console/commands/check.py", line 2, in <module> from poetry.factory import Factory File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/factory.py", line 16, in <module> from .packages.locker import Locker File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/packages/__init__.py", line 2, in <module> from .locker import Locker File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/packages/locker.py", line 38, in <module> from poetry.utils.extras import get_extra_package_names File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/utils/extras.py", line 7, in <module> from poetry.utils.helpers import canonicalize_name File "/opt/virtualenvs/python3/lib/python3.8/site-packages/poetry/utils/helpers.py", line 11, in <module> import requests File "/opt/virtualenvs/python3/lib/python3.8/site-packages/requests/__init__.py", line 119, in <module> from . import packages File "/opt/virtualenvs/python3/lib/python3.8/site-packages/requests/packages.py", line 7, in <module> locals()[package] = __import__(package) ModuleNotFoundError: No module named 'idna' exit status 1 Replit: Package operation failed.
Voters
Profile icon
BlankMCPE
Profile icon
TheFujirose
Profile icon
Filiprar
Comments
hotnewtop
Profile icon
BlankMCPE

Oops a bit late but if you are having this problem too then just type $ kill 1 in shell and try to reinstall the package you are trying to install.