pip install常见错误

1、python setup.py install

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
在这里插入图片描述
解决方案:

pip install --upgrade setuptools

2、No module named ‘_ctypes’

解决方案:
1)下载安装libffi-dev

sudo apt-get install libffi-dev

2)重新编译安装Python

make
make install

3、DistutilsError

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse
解决方案:

sudo pip install incremental==17.5.0
pip install scrapy

(参考的博文)

其他推荐:
在deepin上安装Python3.8时遇到的报错

你可能感兴趣的:(python)