Hey everyone

I started using python and pyqt together for GUI development about 3 months ago. Every once in a while it has become necessary for me to install new modules to increase the versatility of the software I'm developing (and I have been able to do so without many problems).

Recently I began a project which requires me to use the QAction attribute "setSoftKeyRole." Apparently this attribute is only available in version 4.6 and higher of PyQt. I downloaded the windows installer for PyQt 4.7 from this site: http://www.riverbankcomputing.co.uk/.../pyqt/download.

Previously I had been using version 4.5 which is included in the python(x,y) package that can be downloaded on this site:
http://code.google.com/p/pythonxy/

I installed PyQt 4.7 into the folder: Python26/Lib/site-packages. Within this folder the installer created a new "Lib" folder with a "site-packages" folder within that, and the PyQt4 folder within that.

I've tried moving the PyQt4 folder and sipconfig.py sip.pyd and sipdistutils.py files into the original site-packages folder and deleting PyQt 4.5 as well as the accompanying sipconfig.py sip.pyd and sipdistutils.py files

When I tried to run my python scripts I receive this error message in eclipse:
"from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore"

Any suggestions?