[GIS] QGIS 1.8 Did Not Install Properly– Will not recognize modules or DLLs– conflicting with existing PyQt

qgis

I know this has been asked and re-asked, but I can't seem to get any of the proposed solutions to work. Upon clicking the start menu shortcuts to QGIS desktop, nothing happens. When I run from command prompt, I first received the error that "qwt5.dll" was missing. This was installed and present in the Quantum GIS Lisboa/bin folder, and I copied it into the QGIS app/bin folder, along with the next series of dll's it said were missing. It then told me it could not find PyQt4, and then that the SIP module was missing and that python would be disabled. I ensured that the paths were included in my environment variables, but no change. I was curious if the existing versions of PyQt4 (and the accompanying SIP module) that were already installed on my computer could be the cause of this?

This is on my work machine which has heavy security measures in place. On my home machine, which also had PyQt4 and SIP installed previously, I had no issues with installation or launch. Both machines are 32-bit Windows 7. Does anyone have any ideas?

EDIT: After much, much screwing around with paths and bat files, I got the desktop, browser, GRASS and MSYS to launch. I still cannot launch OSGeo4W…. when I run the bat file in command prompt, I first got "findstr not recognized"…. copied, pasted, re-ran… got "_path=C:/Apps/QGIS//apps/Python27/scripts find: .exe no such file or directory, find: .bat no such file or directory "……..hmm..

Best Answer

I guess you have installed the standalone installer. Try the OsGeo4W installer, which installs to C:\OSGeo4W. That will give you no conflicts with spaces in folder names.

Also, rename the folder of your existing Python and PyQt temporarily to make sure you start the right python. Starting of Osgeo4W programs has to be by using the bat files, not the exe's. In the bat files, necessary environment variables are set.

And, by the way, Qgis is running here on Windows 7 with no need for screwing up. Even python 7 installed in parallel, but not PyQt. Most likely PyQt and Qgis interfere at your computer.