python - Error No module named six -
i new python/opencv.
i have code below run in python. got error shown below.
>>> matplotlib import pyplot plt traceback (most recent phone call last): file "<pyshell#20>", line 1, in <module> matplotlib import pyplot plt file "c:\python27\lib\site-packages\matplotlib\__init__.py", line 105, in <module> import 6 importerror: no module named 6
i followed beingness suggested in post: importerror: no module named six
i have downloaded six-1.8.0.tar.gz , unzip file. wondering of next thing do? tried run six.py still got same error.
you shouldn't need download tar.gz
file. instead run @ command line (note, not python command line):
pip install six
and if doesn't work, try:
easy_install six
python
No comments:
Post a Comment