I have decided to learn generic algorithms recently and I needed to install Tensorflow package. Tensorflow run on python 64 bit only, so i install python 3.5.0 64 bit without uninstalling python 32 bit. because i was afraid to lose my packages on python 32 bit by uninstalling it. The problem is how can i force pip install to install a package on my python 64 bit version instead of 32 bit version.
You can generally install multiple Python Version side by side.
Once pip has a list of compatible distributions, it sorts them by version, chooses the most recent version, and then chooses the "best" distribution for that version. It prefers binary wheels if there are any, and if they are multiple it chooses the one most specific to the install environment.
To pip install more than one Python package, the packages can be listed in line with the same pip install command as long as they are separated with spaces.
If you have actually managed to install both x64 & x32 packages, you could simply do
C:\path\to\corresponding\python.exe -m pip install <package>
This will ensure you use the correct pip
and install the package for the specific python instance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With