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

后端 未结 16 1475
余生分开走
余生分开走 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:12

    This solved my problem in ubuntu 18.04 when trying to use python3.6:

    rm -rf ~/.local/lib/python3.6
    

    You can move the folder to another place using mv instead of deleting it too, for testing:

    mv ~/.local/lib/python3.6 ./python3.6_old
    

提交回复
热议问题