I'm struggling to figure out how to include the PyQt module in my Python project. I have tried downloading it from here as a zip file, then including that directory in an environment variable that I called PYTHONPATH. I am running Windows 10, Python 3.5.1, and using PyCharm for my IDE. I was trying to follow the instructions from this question on stackoverflow but I haven't had success and am clearly unsure how to do it.
When I downloaded Python, it was downloaded to my appData folder. The path is as follows users/me/AppData/Local/Programs/Python/Python 35-32...and then a bunch of stuff is in therefor Python. I downloaded the PyQt zip folder and unzipped it to the users/me/AppData/Local/Programs/Python/. After adding the environment variable, PyCharm still isn't able to use the module saying ImportError: No module named 'PyQt4
. Can anyone explain how I can import this module successfully? I'm used to Javascript...is there a way to just reference the file? Kind of like how this other stack overflow question is doing it?
Here are the imports that I need:
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from PyQt4.QtWebKit import *
Thanks in advance!