Please or Register to create posts and topics.

Linux Install fails; unable to find PySide/PySide2

Greetings,

I'm attempting to install v1.2.0 and receive the following message when running the install script;

$ sudo ./Prism_setup_Linux.sh
File "Scripts/PrismInstaller.py", line 335
print ex
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(ex)?
Scripts/PrismCore.py:35: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import sys, os, threading, shutil, time, socket, traceback, imp, platform, random, errno, stat
Traceback (most recent call last):
File "Scripts/PrismCore.py", line 48, in <module>
from PySide2.QtCore import *
ModuleNotFoundError: No module named 'PySide2'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "Scripts/PrismCore.py", line 63, in <module>
from PySide2.QtCore import *
ModuleNotFoundError: No module named 'PySide2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "Scripts/PrismCore.py", line 68, in <module>
from PySide.QtCore import *
ImportError: dynamic module does not define module export function (PyInit_QtCore)

I have PySide2 installed and working on my system, so I'm unsure why I'm seeing this error message.

It looks like you are running the Prism installer with Python 3. The Prism version you are using requires Python 2.7.

Try modify the shell script to use Python 2.7 instead.