Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem with getting Pyside2 to work
AbelMena last edited by
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/main.py...
Traceback (most recent call last):
File "/Users/abelmena/Main/main.py", 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!
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?