Questions tagged [python-2]

Use this tag when Python 2 (or any of its dot releases) is the version you are using.

Filter by
Sorted by
Tagged with
1
vote
0answers
204 views

How to get default QGIS context menu back after customizing it once?

I have created custom legend Layer context menu using class MyMenuProvider(QgsLayerTreeViewMenuProvider): def __init__(self, view): QgsLayerTreeViewMenuProvider.__init__(self) ...
1
vote
2answers
1k views

GDAL >= 2.2.x on Mac OS with Python bindings

I'm needing to use the Python binding of GDAL >= 2.2.x in a Mac OS environment. Kyngchaos most recent binaries are provided for version 2.1.3. Out of compiling from source, is there any other ...
1
vote
0answers
495 views

Installing QGIS with Python 2 and Python 3 on OSX [closed]

I just installed qgis (and all the dependencies, etc.) on my Mac OSX 10.10 via homebrew. Currently, I use both Python 2 and Python 3 on the machine. Whenever I change the Python path [to open qgis], ...
1
vote
4answers
2k views

Changing which python ArcGIS uses?

I have a couple of python installations on my windows 7 machine. I have the one that was installed by ArcGIS, in a folder called "ArcGISx6410.2", and another I recently installed myself directly from ...
1
vote
2answers
6k views

Import error:No module named _gdal

I have installed python 2.5.1 and FWTools2.4.7 in my laptop(Windows 7) when i run my pythonscript in FWTools i get following error Import error:No module named _gdal can any one suggest how to solve ...
13
votes
4answers
13k views

Will ArcGIS Desktop support latest Python 2.x or Python 3.x versions?

I'm curious to know whether ArcGIS Desktop 10.0 will support newer versions of Python than 2.6. And for that matter newer versions of NumPy (ie, 1.4, 1.5 etc). I'm sure that this documentation is on ...