简体   繁体   English

命令“python setup.py egg_info”在 /tmp/pip-build-hn4hol_z/spacy/ 中失败,错误代码为 1

[英]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.

相关问题 命令“python setup.py egg_info”在 /tmp/pip-install-xaum7z8f/supervisor/ 中失败,错误代码为 1 - Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-xaum7z8f/supervisor/ 命令“python setup.py egg_info”在 /tmp/pip-build-tu6ygqzj/mysql-python/ 中失败,错误代码为 1 - Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-tu6ygqzj/mysql-python/ InstallationError:/ tmp / pip-build-Jr1szu / Django /中的命令“ python setup.py egg_info”失败,错误代码为1 - InstallationError: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-Jr1szu/Django/ ctcdecode 安装失败 - 命令“python setup.py egg_info”在 /tmp/pip-req-build-7zcjual1/ 中失败,错误代码为 1 - ctcdecode install fail - Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-7zcjual1/ 命令“python setup.py egg_info”失败,/tmp/pip-build-e7AmlG/django-filter 中的错误代码为 1 - Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-e7AmlG/django-filter Python - 命令“python setup.py egg_info”在 /tmp/pip-build-21ft0H/pandas 中失败,错误代码为 1 - Python - Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-21ft0H/pandas 无法安装Django:命令“python setup.py egg_info”失败,错误代码1在/ tmp / pip-build-rcF9a5 / Django / - Trouble installing Django: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-rcF9a5/Django/ 命令“ python setup.py egg_info”在/ tmp / pip-build-hg0dbjgz / mysqlclient /中失败,错误代码为1 - Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-hg0dbjgz/mysqlclient/ 命令“python setup.py egg_info”在 /tmp/pip-build-dlih6aks/MarkupSafe/ 中失败,错误代码为 1 - Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-dlih6aks/MarkupSafe/ 配置返回的代码256 - python setup.py egg_info失败,错误代码为1 / tmp / pip_build_root / lxml - configure returned code 256 - python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/lxml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM