Dealing with multiple Python versions and PIP?

后端 未结 23 2761
走了就别回头了
走了就别回头了 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:22

    /path/to/python2.{5,6} /path/to/pip install PackageName doesn't work?

    For this to work on any python version that doesn't have pip already installed you need to download pip and do python*version* setup.py install. For example python3.3 setup.py install. This resolves the import error in the comments. (As suggested by @hbdgaf)

提交回复
热议问题