0

I'm new to Python! So, bear with me if I may not be able to articulate my issue well! As the title states, I am using Anaconda2 with Python 2.7 in PyCharm. When I import PyQt5, all is well until I try to use QtWidget and other "Q"'s. I have tried the following:

1)import sys

from PyQt5.QtWidgets import QWidget

2)import sys

from PyQt5 import QtWidgets

I was trying to follow some examples, so I'm not trying to do anything in particular at the moment..just get everything working properly! I've captured a screen shot of the message I've received in the hope that it may make more since. Thank you in advance enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.