`six` package dependency error
dosentmatter opened this issue · 2 comments
dosentmatter commented
Hello, after installing Cantonese
, it fails to run because of the import six
that isn't included in your list of dependencies.
Line 9 in 3072e3b
Lines 31 to 34 in 4870538
You only support Python 3 in setup.cfg
and the README, so it doesn't look like you would need six
for Python 2 interoperability.
Line 30 in 4870538
It doesn't seem like you are using six
at all. Can we delete the import six
line?
% Cantonese
Traceback (most recent call last):
File "/Users/dosentmatter/.pyenv/versions/3.9.6/bin/Cantonese", line 5, in <module>
from src.cantonese import main
File "/Users/dosentmatter/.pyenv/versions/3.9.6/lib/python3.9/site-packages/src/cantonese.py", line 12, in <module>
from src.stack_vm import *
File "/Users/dosentmatter/.pyenv/versions/3.9.6/lib/python3.9/site-packages/src/stack_vm.py", line 9, in <module>
import six
ModuleNotFoundError: No module named 'six'
The workaround is to pip install six
, but this shouldn't be necessary.
StepfenShawn commented
OK, I will delete it in the next version.
dosentmatter commented
Thanks for the fix @StepfenShawn.
Deleted in this commit