PyQt Installation Problem on Windows PyQt Installation Problem on Windows Hans-Peter Jansen Fri Nov 26 17:52:26 CET 2010 • Previous message (by thread): • Next message (by thread): • Messages sorted by: On Wednesday 24 November 2010, 23:03:14 Saul Spatz wrote: >Hi, >>I've been trying to install PyQt on Windows XP Pro so that I can try >out eric ide. I used the binary windows installer for PyQt. I can >run eric as administrator, but not with my ordinary user account. By >running eric.bat with the --debug flag, I found that he crux of the >problem is that if I type >>import PyQt4 >>in the python shell, it works for both users, but if I type >>import PyQt4.QtCore >>it works for the administrator, but the non-privileged account gets >the message >>ImportError: DLL load failed: The specified module could not be >Marine Steam Boilers J H Milton Pdf To Excel. found. My WinXP installations are always a bit lacking, since I do work 97% of my time in Linux (and 2% on MacOSX), but Python 2.6.6 and PyQt 4.7.7 do work fine here as a user win XP SP3/i586. Things like what you describe usually point to broken installations (remaining manual build artefacts, unfinished installs, incomplete deinstallations.).
Just uninstall Python and PyQt, remove everything below your Python base path, and start over (a registry check/cleanup might be worth, too). >In the file the file pyqtconfig.py from Python26 Lib site-packages >PyQt4 I have the line >>'pyqt_config_args': '--confirm-license -b C: Python26 Lib site- >packages PyQt4 bin', >>I checked with a friend who uses eric, and his file does not have the >--confirm-license parameter.
As far as we can tell, we followed the >same installation procedures. This is unrelated, since it is only a detail in the build process, but points to differing versions. >By the way, I have tried this with python 3.1 on the same machine >with similar results. >>I've blown a whole day playing with this, so I'd really appreciate >any help you can give me. Pete • Previous message (by thread): • Next message (by thread): • Messages sorted.
Installing PyQt on Mac OS X There are three options for installing PyQt that we will discuss: • Using an installer • Using MacPorts • Installing from source All of the options are limited in some way and you will need to decide which is best for you. This situation changes frequently as new versions of utilities are released. Using an installer The easiest way to install PyQt is to use an installer package that someone else has created. Unfortunately, at this time there is only an installer for Python 3.2 and cx_Freeze (which we use to distribute applications) does not work under this installation. However, if you can live with these constraints then it is easily the best choice. To install PyQt using the installer you should: • from Python.org • from • from Using MacPorts MacPorts is a package manager for Mac OS X that makes working with Unix utilities easier. It is currently our preferred method of installing Python 3.3 and PyQt 4.9.4 as it allows us to work with cx_Freeze, which we use to create stand-alone applications.
$ brew install pyqt And. Those lines try googling on how to solve it for your operating system and pyqt version. If you're on windows you most likely don.
Harry Potter And The Sorcerer. Follow our guide to distributing your application to Installing from source This option is included for completeness and is not recommended unless you are experienced with the command line. These instructions are known to work on Mac OS X 10.6.8, 10.7.5 and 10.8.2.With earlier or later versions of the OS your mileage may vary.