Reputation: 1
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.
Upvotes: 0
Views: 98
Reputation: 71
Use virtualenv, conda environment or pipenv, it will help with managing packages for different projects.
Upvotes: 0
Reputation: 22043
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.
Upvotes: 1