Could not find .egg-info directory in install record for *

输入:
sudo pip install cython

报错:
Could not find .egg-info directory in install record for cpython


出错原因:

将setuptools从6.0.1升级到6.0.2.


具体操作:

1. 下载安装6.0.2:

wget https://bootstrap.pypa.io/ez_setup.py -o -| sudo python

2. 安装ez_setup.py:

python ez_setup.py



你可能感兴趣的:(操作系统,egg-info,install,record)