Home  >  Q&A  >  body text

pip list列出了所有Python版本安装的包

我的电脑上有四个Python版本:

今天折腾了一天切换版本,终于从原来的2.6.9切换到了2.7.10,但是pip没了
通过

sudo easy_install pip

安装上了pip,但是经过我观察,pip list列出来的包是上述四个版本包的集合
请问如何解决?谢谢

大家讲道理大家讲道理2742 days ago886

reply all(2)I'll reply

  • 黄舟

    黄舟2017-04-17 17:19:00

    This is a record of version switching that I summarized before. I don’t know if it will be helpful:
    https://segmentfault.com/a/1190000004020387

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 17:19:00

    Since using Pyenv to install anaconda, I have never encountered this kind of problem again

    reply
    0
  • Cancelreply