Skip to main content
deleted 68 characters in body; edited title
Source Link
PolyGeo
  • 65.5k
  • 29
  • 115
  • 353

How can I Setup Setting up Python to recognize QGIS

Hope someone could help me solving this, I'd be really thankful!

I've just tried to copy and paste the whole content of Python27 folder within the main "Quantum GIS Lisboa" folder in the Python27 main folder in my hard drive C, since I saw ArcGIS and Python were working fine like that. Then I tried to launch the IDLE found in "lib/idlelib" ("idle.pyw") from the new folder but this didn't solve the problem. Everything seems to point to the right folders in the system environment. Here is the print of the sys.path after the "reverse" trick:

How can I Setup Python to recognize QGIS

Hope someone could help me solving this, I'd be really thankful!

I've just tried to copy and paste the whole content of Python27 folder within the main "Quantum GIS Lisboa" folder in the Python27 main folder in my hard drive C, since I saw ArcGIS and Python were working fine like that. Then I tried to launch the IDLE found in "lib/idlelib" ("idle.pyw") from the new folder but this didn't solve the problem. Everything seems to point to the right folders in the system environment. Here is the print of the sys.path after the "reverse" trick:

Setting up Python to recognize QGIS

I've just tried to copy and paste the whole content of Python27 folder within the main "Quantum GIS Lisboa" folder in the Python27 main folder in my hard drive C, since I saw ArcGIS and Python were working fine like that. Then I tried to launch the IDLE found in "lib/idlelib" ("idle.pyw") from the new folder but this didn't solve the problem. Everything seems to point to the right folders in the system environment. Here is the print of the sys.path after the "reverse" trick:

edited tags
Link
PolyGeo
  • 65.5k
  • 29
  • 115
  • 353
added 1698 characters in body
Source Link
umbe1987
  • 3.8k
  • 3
  • 29
  • 61

I've just tried to copy and paste the whole content of Python27 folder within the main "Quantum GIS Lisboa" folder in the Python27 main folder in my hard drive C, since I saw ArcGIS and Python were working fine like that. Then I tried to launch the IDLE found in "lib/idlelib" ("idle.pyw") from the new folder but this didn't solve the problem. Everything seems to point to the right folders in the system environment. Here is the print of the sys.path after the "reverse" trick:

['C:\\Quantum_GIS_Lisboa\\apps\\qgis\\bin', 'C:\\Quantum_GIS_Lisboa\\apps\\qgis\\python', 'C:\\Python27\\ArcGIS10.1\\lib\\site-packages\\Pythonwin', 'C:\\Python27\\ArcGIS10.1\\lib\\site-packages\\win32\\lib', 'C:\\Python27\\ArcGIS10.1\\lib\\site-packages\\win32', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.1\\ArcToolbox\\Scripts', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.1\\arcpy', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.1\\bin', 'C:\\Python27\\ArcGIS10.1\\lib\\site-packages', 'C:\\Python27\\ArcGIS10.1', 'C:\\Python27\\ArcGIS10.1\\lib\\lib-tk', 'C:\\Python27\\ArcGIS10.1\\lib\\plat-win', 'C:\\Python27\\ArcGIS10.1\\lib', 'C:\\Python27\\ArcGIS10.1\\DLLs', 'C:\\Windows\\system32\\python27.zip', 'C:\\Quantum_GIS_Lisboa\\apps\\qgis\\bin', 'C:\\Quantum_GIS_Lisboa\\apps\\qgis\\python', 'C:\\Python27\\ArcGIS10.1\\Lib\\idlelib', 'C:\\Users\\Umberto\\Desktop'] Traceback (most recent call last): File "C:\Users\Umberto\Desktop\set_qgis_01.py", line 5, in <module> import qgis.core ImportError: DLL load failed: Impossibile trovare il modulo specificato. 

Am I suppose to point to the Quantum GIS main folder as well as it contains a folder named "lib"?

I've just tried to copy and paste the whole content of Python27 folder within the main "Quantum GIS Lisboa" folder in the Python27 main folder in my hard drive C, since I saw ArcGIS and Python were working fine like that. Then I tried to launch the IDLE found in "lib/idlelib" ("idle.pyw") from the new folder but this didn't solve the problem. Everything seems to point to the right folders in the system environment. Here is the print of the sys.path after the "reverse" trick:

['C:\\Quantum_GIS_Lisboa\\apps\\qgis\\bin', 'C:\\Quantum_GIS_Lisboa\\apps\\qgis\\python', 'C:\\Python27\\ArcGIS10.1\\lib\\site-packages\\Pythonwin', 'C:\\Python27\\ArcGIS10.1\\lib\\site-packages\\win32\\lib', 'C:\\Python27\\ArcGIS10.1\\lib\\site-packages\\win32', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.1\\ArcToolbox\\Scripts', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.1\\arcpy', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.1\\bin', 'C:\\Python27\\ArcGIS10.1\\lib\\site-packages', 'C:\\Python27\\ArcGIS10.1', 'C:\\Python27\\ArcGIS10.1\\lib\\lib-tk', 'C:\\Python27\\ArcGIS10.1\\lib\\plat-win', 'C:\\Python27\\ArcGIS10.1\\lib', 'C:\\Python27\\ArcGIS10.1\\DLLs', 'C:\\Windows\\system32\\python27.zip', 'C:\\Quantum_GIS_Lisboa\\apps\\qgis\\bin', 'C:\\Quantum_GIS_Lisboa\\apps\\qgis\\python', 'C:\\Python27\\ArcGIS10.1\\Lib\\idlelib', 'C:\\Users\\Umberto\\Desktop'] Traceback (most recent call last): File "C:\Users\Umberto\Desktop\set_qgis_01.py", line 5, in <module> import qgis.core ImportError: DLL load failed: Impossibile trovare il modulo specificato. 

Am I suppose to point to the Quantum GIS main folder as well as it contains a folder named "lib"?

added 598 characters in body
Source Link
umbe1987
  • 3.8k
  • 3
  • 29
  • 61
Loading
added 336 characters in body; edited title
Source Link
umbe1987
  • 3.8k
  • 3
  • 29
  • 61
Loading
formatting
Source Link
Ian Turton
  • 84.2k
  • 6
  • 94
  • 190
Loading
Source Link
umbe1987
  • 3.8k
  • 3
  • 29
  • 61
Loading