How can I control which Python distribution to pip install a package to when I have Python 2, Python 3, and Anaconda on my computer?

前端 未结 4 1339
囚心锁ツ
囚心锁ツ 2021-02-08 05:15

I have the following Python distributions installed on my Windows computer:

  • Python 2.7 (IDLE)
  • Python 3.4 (IDLE)
  • Anaconda (Python 3.4)
4条回答
  •  一整个雨季
    2021-02-08 05:21

    (in command prompt)C:\Python34\scripts\pip.exe install pytz

    this assumes your path is similar to mine. I used the default install location for all my pythons(2.7,3.4).

提交回复
热议问题