[英]Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hn4hol_z/spacy/
I'm trying to install a Python package called "mudes" on another server using terminal.我正在尝试使用终端在另一台服务器上安装一个名为“mudes”的 Python 包。 When I want to install it using当我想使用安装它时
pip install mudes
or或者
pip3 install mudes
, I get the following error: ,我收到以下错误:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hn4hol_z/spacy/
I have also used我也用过
pip install --no-cache-dir mudes
, which resulted in the same error and ,这导致了同样的错误和
pip3 install --upgrade setuptools --user python
, which resulted in the following: ,结果如下:
Requirement already up-to-date: setuptools in ./pythonProject/venv/lib/python3.6/site-packages
Collecting python
Could not find a version that satisfies the requirement python (from versions: )
No matching distribution found for python
How can I solve this problem?我怎么解决这个问题?
The setuptools might be outdated.设置工具可能已过时。 Try running this command first and see if it helps.首先尝试运行此命令,看看它是否有帮助。
pip install --upgrade setuptools
I had the same issue trying to install pycaret.我在尝试安装 pycaret 时遇到了同样的问题。 I'm no expert so I don't know why but this work for me我不是专家,所以我不知道为什么,但这对我有用
pip3 install --upgrade pip
Looks like spacy is not installed.看起来没有安装spacy。
pip3 install spacy
It worked for me, check if it helps you.它对我有用,检查它是否对你有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.