On my laptop I have QGIS and ArcGIS installed. Both come with separate Python installations, and next to these two there is also a 'standard' Python installation I have for development. Now I have 3 Pythons:
- Standard Python -
C:\Python27
- QGIS Python -
C:\OSGeo4W64\apps\Python27
- ArcGIS Python -
C:\Python27\ArcGIS10.4
Now say I'm eg. developing a QGIS plugin and need an external library to install. It is QGIS-Python which needs that, but what if it's a common lib like matplotlib
or pandas
which I would like to use normally, not only in QGIS plugins? Then I must install it as well into Standard-Python. And if for ArcGIS scripting, then also for ArcGIS-Python.
I don't really want to triple my Python installations and their additional libraries. But each one mentioned here differs from others, because it has some libs necessary to run modules of said software. Therefore I can't just delete them and change Python paths in settings.
I would like to have one Python installation so I can access any module from one place. Is that possible? How to do this?
I didn't ask this question on SO because I think knowledge of GIS environment is essential here to help distinguish Pythons and know how to install them