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
The following error occurs when I try to run the basic sample.
Traceback (most recent call last):
File "/home/username/Documents/python-test/main.py", line 1, in <module>
from py_trans import PyTranslator
File "/home/username/Documents/python-test/.venv/lib/python3.11/site-packages/py_trans/__init__.py", line 20, in <module>
from .extras import get_lang_code, get_lang_name
File "/home/username/Documents/python-test/.venv/lib/python3.11/site-packages/py_trans/extras.py", line 5, in <module>
import os, json, aiofiles
It was solved by pip install aiofiles, but shouldn't it not happen in the first place?
The text was updated successfully, but these errors were encountered:
The following error occurs when I try to run the basic sample.
It was solved by
pip install aiofiles
, but shouldn't it not happen in the first place?The text was updated successfully, but these errors were encountered: