Linux Install fails; unable to find PySide/PySide2
Zitat von ImpiusNex am 22. Januar 2020, 0:30 UhrGreetings,
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.
Zitat von RichardF am 24. März 2020, 15:29 UhrIt 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.
Zitat von platerytter am 21. Januar 2021, 21:03 UhrHaving 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.
Zitat von RichardF am 22. Januar 2021, 11:27 UhrHey @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.
Zitat von platerytter am 25. Januar 2021, 19:27 UhrI 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.