I would like to have on the same machine all my GIS software installations. Both ArcGIS Desktop and QGIS come with their own Python installations but I want another independent Python where I can play around and update its packages without messing up ArcGIS and QGIS Pythons. I understand that just installing the independent Python into another folder should suffice.

However, as I use GDAL installed from GISinternals files and pip to update packages, what should I be careful with in order to install GDAL Python bindings and pointing to the correct Python version?

I think I recall, when installing Python bindings it asks for the instance of Python you are to install it for, is that correct?

Also, when using pip for installing packages, how can I make sure I am using the independent Python's pip instead of, for example, ArcGIS's?

  • This reminded me of the old joke, "How do porcupines mate?" "Very carefully." I've never had a problem creating multiple Python installations, but I didn't spend any time adding packages. This is basically an exercise in PATH and other environment variable management, so you're at the edge of the slippery slope between GIS SE and Stack Overflow. – Vince May 4 at 15:00
  • Can't you execute the full path to the pip.exe you want? In Python 2.7, pip is normally located here, C:\Python27\Scripts\pip.exe – klewis May 4 at 17:00
  • For what it's worth, I use ArcGIS, QGIS, and multiple python environments on the same machine seamlessly - I use Anaconda, and I create conda environments using gdal with specific versions of python and it runs smoothly. I can also call arcpy from these environments if I copy my ArcGIS .pth file to my conda environment Lib/site-packages directory – mweber May 6 at 23:42

Anaconda seems to be a great and popular resource for managing different environments. If you are still using python 2.7 for Arc, you can create a python 2.7 environment and a python 3.7 environment.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.