Planned maintenance: From Sunday 8th December 10:00 CET there will be changes to try and solve the caching issues that have been experienced. If anyone has a problem connecting after this period then please PM @AndyS or any of the moderators.

Problem with getting Pyside2 to work

  • This is my first time programming with qt creator but am familiar with python. The problem I am running into is I have pyside2 download on my Mac but yet when I go to run code this pops up.

    20:05:59: Starting /usr/bin/python /Users/abelmena/Main/

    Traceback (most recent call last):
    File "/Users/abelmena/Main/", line 3, in <module>
    from PySide2.QtWidgets import QApplication, QMainWindow
    ImportError: No module named PySide2.QtWidgets
    20:05:59: /usr/bin/python exited with code 1

    Therefore what is the issue and how do I resolve this? Thanks!

  • Qt Champions 2018

    @AbelMena said in Problem with getting Pyside2 to work:

    I have pyside2 download on my Mac

    How exactly did you install PySide2? Do you have different Python installations? If so, is /usr/bin/python the one where you installed PySide2?

Log in to reply