当改变Python版本后,安装某个曾安装的模块,报错:
1 | Command "python setup.py egg_info" failed with error code 1 ... |
If it’s already installed, try
1 | pip install --upgrade setuptools |
If it’s already up to date, check that the module ez_setup is not missing. If it is, then
1 | pip install ez_setup |
然后重新安装,问题解决。