Pyside "module not found"

Answered

Hi all,

I recently started to dive into Python programming and want to create a gui using pyside. Pyside is installed on my system and via commandline I made sure it works.

Now I want to use it in Pycharm but every time I try to run the script I get the error "NameError: name 'PySide' is not defined"

I already had issues with installing PySide and when I try to install the module inside of Pycharm I get the same error (nmake not found). I thought by installing PySide on my system I would bypass the need to install it in Pycharm.

Anybody got an idea how to use Pyside?

 

Best

Jo

 

5 comments
Comment actions Permalink

Are you sure that you are pointed to the same interpreter in PyCharm that you used to install PySide? Take a look at Preferences -> Python Interpreter and see if pyside shows up in the installed packages.

0
Comment actions Permalink

Hi! Currently i have the same problem. I downloaded the CE and the pro version. It only works with the pro version of the 2017. The ce doesnt autocomplete or runs pyside. Is there ant restriction for the CE regarding this?

0
Comment actions Permalink

Hi Alenrqz21! There should be no difference between PE and CE, are you sure both use the same interpreter? Could you please specify what error do you receive in CE after run? Feel free to create a ticket in our bug tracker.

0
Comment actions Permalink

The same error happens. It says QtCore module not found. It is strange because it works perfect with the Pro. Also autocompeltation works fine in Pro with PySide. Only the CE have this issue.

0
Comment actions Permalink

Alenrqz21, do you use Anaconda interpreter?

0

Please sign in to leave a comment.