Join our discord community

Please or Register to create posts and topics.

PrismTray error on start in PopOs!

I've got the following error when running prismtray from terminal

python /opt/Pipeline/Prism/Scripts/PrismTray.py
/opt/Pipeline/Prism/Scripts/PrismTray.py:197: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  curProject is not None and curProject is not ""
Traceback (most recent call last):
  File "/opt/Pipeline/Prism/Scripts/PrismTray.py", line 56, in <module>
    from PySide2.QtCore import *
ImportError: /opt/Pipeline/Prism/PythonLibs/Python37/PySide/PySide2/Qt/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /lib/x86_64-linux-gnu/libQt5Network.so.5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/Pipeline/Prism/Scripts/PrismTray.py", line 60, in <module>
    from PySide.QtCore import *
ModuleNotFoundError: No module named 'PySide.QtCore'

The problem is that Prism cannot load the PySide2 module from "Prism/PythonLibs/Python37/PySide/PySide2" It looks like you already have some version of Qt/PySide on your system (/lib/x86_64-linux-gnu/libQt5Network.so.5). Most likely it's a conflict of the PySide2 module included in Prism and some files on your system.

The easiest way to fix this is probably to install PySide2 for python3 on your system for example with the python package manager "pip". Then you can delete the PySide2 version included in Prism (Prism/PythonLibs/Python37/PySide/PySide2) and Prism will use the PySide2 from your system.

Ah thank you Richard, Solved