ImportError: cannot import name main when running pip --version command in windows7 32 bit

后端 未结 16 1477
余生分开走
余生分开走 2020-11-28 01:28

I\'ve installed the latest python (2.7.9) bundled with pip and setuptools for windows 32-bit. I\'ve tried reinstalling pip but the problem persists.

Here\'s the erro

16条回答
  •  一整个雨季
    2020-11-28 02:09

    If you have a hardlink to pip in your PATH (i.e. if you have multiple python versions installed) and then you upgrade pip, you may also encounter this error.

    The solution consists in creating the hardlink again. Or even better, stop using hardlinks and use softlinks.

提交回复
热议问题