Cannot uninstall 'pyOpenSSL'. It is a distutils installed project and thus we cannot accurately dete

  • linux python2.7安装scrapy报错 ERROR: Cannot uninstall ‘pyOpenSSL’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
  • 应该就是这个six导致的(真是666),忽略它 ;解决办法:
    • 原来的命令(我是本地文件安装的)
    pip2.7 install Scrapy-1.8.0-py2.py3-none-any.whl 
    
    • 改成
    
    pip2.7 install Scrapy-1.8.0-py2.py3-none-any.whl   --upgrade --ignore-installed six 
    
发布了293 篇原创文章 · 获赞 174 · 访问量 106万+

猜你喜欢

转载自blog.csdn.net/baidu_19473529/article/details/103244461