美文网首页
pip error:ImportError: cannot im

pip error:ImportError: cannot im

作者: wanncy | 来源:发表于2019-06-08 03:14 被阅读0次

The bug is found in pip 10.0.0.

In linux you need to modify file: /usr/bin/pip from:

from pip import main

if __name__ == '__main__':
    sys.exit(main())

to this:

from pip import __main__
if __name__ == '__main__':
    sys.exit(__main__._main())

相关文章

网友评论

      本文标题:pip error:ImportError: cannot im

      本文链接:https://www.haomeiwen.com/subject/ybubxctx.html