3

I tried following link to write my first Python GUI app:

Setting up IDE and 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: alt text

2
  • 1
    Do you have pyqt installed? Is it in your pythonpath? Commented Jan 7, 2011 at 20:22
  • @Falmarri: Yes it is. I also noticed that PyQt4 brings SIP think with it, whereas I installed another version of SIP as shown in that link. Commented Jan 7, 2011 at 20:28

1 Answer 1

4

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, it worked. However, I still see few red-underlines as warnings.
what might those warnings be?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.