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 
    

posted on 2019-11-25 19:55  愤怒的苹果ext  阅读(5)  评论(0编辑  收藏  举报  来源

导航