简体   繁体   中英

how to use pip install a package if there are two same version of python on windows

I have two same versions of python on windows. Both are 3.6.4. I installed one of them, and the other one comes with Anaconda.

My question is how do I use pip to install a package for one of them? It looks like the common method will not work since the two python versions are the same.

pip points to only one installation because pip is a script from one python .

If you have one Python in your PATH , then it's that python and that pip that will be used.

使用virtualenv,conda环境或pipenv,它将有助于管理不同项目的软件包。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM