You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
Traceback (most recent call last):
File "/home/tom/.local/bin/poetry", line 5, in <module>
from poetry.console import main
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/console/__init__.py", line 1, in <module>
from .application import Application
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/console/application.py", line 7, in <module>
from .commands.about import AboutCommand
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/console/commands/__init__.py", line 4, in <module>
from .check import CheckCommand
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/console/commands/check.py", line 2, in <module>
from poetry.factory import Factory
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/factory.py", line 16, in <module>
from .packages.locker import Locker
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/packages/__init__.py", line 2, in <module>
from .locker import Locker
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/packages/locker.py", line 38, in <module>
from poetry.utils.extras import get_extra_package_names
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/utils/extras.py", line 7, in <module>
from poetry.utils.helpers import canonicalize_name
File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/utils/helpers.py", line 11, in <module>
import requests
File "/home/tom/.local/lib/python3.8/site-packages/requests/__init__.py", line 44, in <module>
import chardet
ModuleNotFoundError: No module named 'chardet'
It works when I run the command in a virtual environment.
Just installing chardet with pip install chardet or python3.8 -m pip install chardet did not work.
Since this template uses poetry as the dependency manager, think you should use poetry add [package-name] for all additional dependencies. In your case poetry add chardet.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🐛 Bug Report
I followed the installation instruction but get
when I try to run
Full stack trace:
🔬 How To Reproduce
Steps to reproduce the behavior:
make install
make pre-commit-install
Environment
Python 3.8.10
📈 Expected behavior
No error
The text was updated successfully, but these errors were encountered: