Linux Install fails; unable to find PySide/PySide2
Quote from ImpiusNex on 22. January 2020, 0:30Greetings,
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.
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.
Quote from RichardF on 24. March 2020, 15:29It 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.
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.
Quote from platerytter on 21. January 2021, 21:03Having same issue on ubuntu 20. PySide for python2.7 is now longer supported on ubuntu 20. Any chance of supporting python3 by default to make it work on Ubuntu 20.10 ?
Or release an AppImage version.
Having same issue on ubuntu 20. PySide for python2.7 is now longer supported on ubuntu 20. Any chance of supporting python3 by default to make it work on Ubuntu 20.10 ?
Or release an AppImage version.
Quote from RichardF on 22. January 2021, 11:27Hey @platerytter,
someone else solved this issue on Ubuntu 20: https://prism-pipeline.com/forum/topic/prism-1-3-installation-problem/?part=2#postid-2252
There's no specific date yet, but sooner or later Prism will support Python 3 on Linux out of the box.
Hey @platerytter,
someone else solved this issue on Ubuntu 20: https://prism-pipeline.com/forum/topic/prism-1-3-installation-problem/?part=2#postid-2252
There's no specific date yet, but sooner or later Prism will support Python 3 on Linux out of the box.
Quote from platerytter on 25. January 2021, 19:27I got it working by changing some of the install scripts to look for python3. Good to hear you're looking into Python3 support in the future.
I got it working by changing some of the install scripts to look for python3. Good to hear you're looking into Python3 support in the future.