Dealing with multiple Python versions and PIP?

后端 未结 23 2811
走了就别回头了
走了就别回头了 2020-11-21 06:58

Is there any way to make pip play well with multiple versions of Python? For example, I want to use pip to explicitly install things to either my s

23条回答
  •  北恋
    北恋 (楼主)
    2020-11-21 07:39

    You can go to for example C:\Python2.7\Scripts and then run cmd from that path. After that you can run pip2.7 install yourpackage...

    That will install package for that version of Python.

提交回复
热议问题