当我试图从终端窗口安装fast ColorTheep库时,我得到一个错误。我用来安装的命令如下
pip install fast_colorthief
为了修复这个错误,我删除了setuptools插件并重新安装了它。但是它不起作用。我在我的计算机上使用linux mint xfce。下面是我在终端窗口中得到的错误
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_xy4eieo/fast-colorthief/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_xy4eieo/fast-colorthief/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-_xy4eieo/fast-colorthief/pip-egg-info
cwd: /tmp/pip-install-_xy4eieo/fast-colorthief/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-_xy4eieo/fast-colorthief/setup.py", line 12, in <module>
import fast_colorthief
File "/tmp/pip-install-_xy4eieo/fast-colorthief/fast_colorthief.py", line 2, in <module>
import fast_colorthief_backend
ModuleNotFoundError: No module named 'fast_colorthief_backend'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
任何建议都会很有帮助。谢谢
目前没有回答
相关问题 更多 >
编程相关推荐