My first Python GUI program generating error
I tried following link to write my first Python GUI app:
Setting up IDE and开发者_如何学Go creating a cross platform Qt Python GUI application
I configured the settings exactly as shown in the screenshots, and just pasted that example given over there, but it is giving error. It is not able to find QtGui in PyQt4 folder. The only difference is that I am using Aptana Studio 3 Beta with PyDev plugin instead of Eclipse.
The screenshot of my development environment is here:
When I installed PyQt4 with the latest windows installer it missed adding the path to the dll files, too. Instead of adding another item to my already bloated path line I copied the contents of the C:\Python27\Lib\site-packages\PyQt4\bin folder up to the main PyQt folder (C:\Python27\Lib\site-packages\PyQt4) and that stopped the 'dll not found' errors that python was throwing.
精彩评论