Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I solve error "no module found named pyside2"?

I am trying to run python file on my terminal and I get the error of "no module named pyside2"

I tried the to run the code which was already answered on similar type of question. But no changes on my side.

ERROR message:

Traceback (most recent call last)
File "xxx-qt.py", line 31, in <module>
from pyside2 import qtcore
Modulenotfounderror: NO module named "pyside2"
like image 591
Charul Avatar asked Jul 15 '19 04:07

Charul


People also ask

What is pyside2?

PySide2 is the official Python module from the Qt for Python project, which provides access to the complete Qt 5.12+ framework. The Qt for Python project is developed in the open, with all facilities you'd expect from any modern OSS project such as all code in a git repository and an open design process.


1 Answers

The problem arises because you haven't the module in your environment, you can install it using pip install PySide2

For more about PySide2: https://pypi.org/project/PySide2/

like image 195
muhammed fairoos nm Avatar answered Oct 25 '22 03:10

muhammed fairoos nm