Dealing with multiple Python versions and PIP?

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

    It worked for me in windows this way:

    1. I changed the name of python files python.py and pythonw.exe to python3.py pythonw3.py

    2. Then I just ran this command in the prompt:

      python3 -m pip install package

提交回复
热议问题