Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0a2a9blj/argon2-cffi-bindings/
时间: 2023-12-06 08:36:17 浏览: 169
这个错误通常是由于缺少一些必要的依赖项或者环境变量设置不正确导致的。以下是一些可能的解决方案:
1. 确保你已经安装了所有必要的依赖项,例如Cython和numpy等。你可以使用以下命令安装它们:
```shell
pip install cython numpy
```
2. 确保你的环境变量设置正确。你可以使用以下命令检查它们:
```shell
echo $PATH
```
3. 如果你使用的是MacOS系统,请确保你已经安装了Xcode和Command Line Tools。你可以使用以下命令安装它们:
```shell
xcode-select --install
```
4. 如果你使用的是Linux系统,请确保你已经安装了gcc和g++。你可以使用以下命令安装它们:
```shell
sudo apt-get install gcc g++
```
5. 如果你使用的是Windows系统,请确保你已经安装了Microsoft Visual C++ Build Tools。你可以从以下链接下载并安装它们:
https://visualstudio.microsoft.com/visual-cpp-build-tools/
阅读全文
相关推荐
















