[Qgis-user] QGIS 2.4, 2.2 etc--Python support disabled -- Can not load PYQt4

Tim Paysen tpaysen at sbcglobal.net
Thu Jul 10 08:44:42 PDT 2014


I have been fighting this problem for some time, with no satisfactory suggestions.  I  use Windows 7, with the 32-bit version of qgis (and of Python 2.7.6).  I just loaded the new qgis 2.4 and have the same problem.

Couldn't load PyQt4.
Python support will be disabled.


Traceback (most recent call last):
  File "", line 1, in 
ImportError: DLL load failed: The specified procedure could not be found.


...followed by a large 'Python Path  list that includes all of the pathways to the various PyQt4 elements contained in the Qgis program folder.  The error message is of no use.


I hesitate including the pathways listed, but it could help someone figure this out.  By the way, there are some things in the path list regarding qgis that I did not put into my System Path.

Python path:
['C:/PROGRA~2/QGISCH~1/apps/qgis/./python', u'C:/Users/Tim/.qgis2/python', u'C:/Users/Tim/.qgis2/python/plugins', 'C:/PROGRA~2/QGISCH~1/apps/qgis/./python/plugins', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\orange_bioinformatics-2.5.25-py2.7.egg', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\orange_nmf-0.1.2-py2.7.egg', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\nimfa-1.0-py2.7.egg', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\orange_network-0.3.2-py2.7.egg', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\orange_reliability-0.2.14-py2.7.egg', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\orangecontrib.earth-0.1.3-py2.7-win32.egg', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\orange_multitarget-0.9.3-py2.7.egg',
 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\orange_textable-1.4.2-py2.7.egg', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages\\orange_modelmaps-0.2.8-py2.7.egg', 'C:\\Python27', 'C:\\Python27\\Lib', 'C:\\Python27\\DLLs', 'C:\\Python27\\Doc', 'C:\\Python27\\include', 'C:\\Python27\\libs', 'C:\\Python27\\Lib\\site-packages\\PyQt4', 'C:\\Python27\\Scripts', 'C:\\Python27\\share', 'C:\\Python27\\tcl\\tcl8.5', 'C:\\Python27\\Tools', 'C:\\Python27\\Lib\\site-packages', 'C:\\PROGRA~2\\QGISCH~1\\bin', 'C:\\PROGRA~2\\QGISCH~1\\bin\\python27.zip', 'C:\\Python27\\lib\\site-packages\\Orange\\orng', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\lib-tk', 'C:\\Users\\Tim\\AppData\\Roaming\\Python\\Python27\\site-packages', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27',
 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\GDAL-1.11.0-py2.7-win32.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win32.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\python_dateutil-2.2-py2.7.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\pytz-2014.2-py2.7.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win32.egg',
 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\six-1.6.1-py2.7.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140710/77b1edce/attachment.html>


More information about the Qgis-user mailing list