Skip to main content

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
3 votes
2 answers
5k views

Updating Python for QGIS

My QGIS installation has Python 2.7 by default. I am not able to update this Python 2.7 to an upper version of Python (e.g. Python 2.7.11). I searched the web, however, I do not want to make changes ...
bdur's user avatar
  • 195
1 vote
0 answers
452 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) ...
drama's user avatar
  • 377
1 vote
2 answers
2k 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 ...
Ricardo Barros Lourenço's user avatar
1 vote
0 answers
529 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], ...
james's user avatar
  • 111
2 votes
4 answers
4k 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 ...
EddyTheB's user avatar
  • 1,935
1 vote
2 answers
7k 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 ...
Devendra Tamrakar's user avatar
13 votes
4 answers
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 ...
om_henners's user avatar
  • 15.7k