Linux install "command not found"
Quote from martimoo on 9. November 2019, 14:46Hi
I get this error when i try to install it via command line in linux:
./Prism/Linux_Setup_Integrations.sh: line 7: python: command not found
./Prism/Linux_Setup_Integrations.sh: line 11: python: command not found
./Prism/Linux_Setup_Startmenu.sh: line 9: python: command not foundAm i doing something wrong?
Hi
I get this error when i try to install it via command line in linux:
./Prism/Linux_Setup_Integrations.sh: line 7: python: command not found
./Prism/Linux_Setup_Integrations.sh: line 11: python: command not found
./Prism/Linux_Setup_Startmenu.sh: line 9: python: command not found
Am i doing something wrong?
Quote from RichardF on 11. November 2019, 13:00That sounds like there is no python installed on your linux system. Usually python is installed by default on linux. Which linux distribution are you using?
That sounds like there is no python installed on your linux system. Usually python is installed by default on linux. Which linux distribution are you using?
Quote from BastianLS on 19. October 2020, 17:24I am having a similar issue on Ubuntu 20.04. EDIT: I am running Ubuntu MATE 20.04. Don't know if that impacts the Qt stuff?!?
Prism v1.3.0.5Python is installed but there are no commands named just python. It is either python2 or python3.
Then I tried installing both 'python-is-python2' and 'python-is-python3' to have the python command refer to them.But now I run into a errors from PySide import.
When 'python-is-python3' is installed:Traceback (most recent call last):
File "Scripts/PrismInstaller.py", line 83, in <module>
import PrismInstaller_ui
File "Scripts/UserInterfacesPrism/PrismInstaller_ui.py", line 10, in <module>
from PySide import QtCore, QtGui
ImportError: cannot import name 'QtCore' from 'PySide' (unknown location)
Scripts/PrismCore.py:41: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Traceback (most recent call last):
File "Scripts/PrismCore.py", line 84, 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 92, in <module>
from PySide.QtCore import *
ModuleNotFoundError: No module named 'PySide.QtCore'During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Scripts/PrismCore.py", line 97, in <module>
from PySide2.QtCore import *
ImportError: /home/bastian/Software/Prism_v1.3.0.5_Linux/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 "Scripts/PrismCore.py", line 101, in <module>
from PySide.QtCore import *
ModuleNotFoundError: No module named 'PySide.QtCore'Even after using pip3 to install PySide2 I got an error:
Traceback (most recent call last):
File "Scripts/PrismInstaller.py", line 83, in <module>
import PrismInstaller_ui
File "Scripts/UserInterfacesPrism/PrismInstaller_ui.py", line 10, in <module>
from PySide import QtCore, QtGui
ImportError: cannot import name 'QtCore' from 'PySide' (unknown location)
Scripts/PrismCore.py:41: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
And when 'python-is-python2':
Traceback (most recent call last):
File "Scripts/PrismInstaller.py", line 83, in <module>
import PrismInstaller_ui
File "Scripts/UserInterfacesPrism/PrismInstaller_ui.py", line 10, in <module>
from PySide import QtCore, QtGui
ImportError: No module named PySide
Traceback (most recent call last):
File "Scripts/PrismCore.py", line 101, in <module>
from PySide.QtCore import *
ImportError: No module named PySide.QtCoreI just installed Prism on my laptop with ubuntu 18.04 just to test and didn't have any issue.
Hope that helps.
I am having a similar issue on Ubuntu 20.04. EDIT: I am running Ubuntu MATE 20.04. Don't know if that impacts the Qt stuff?!?
Prism v1.3.0.5
Python is installed but there are no commands named just python. It is either python2 or python3.
Then I tried installing both 'python-is-python2' and 'python-is-python3' to have the python command refer to them.
But now I run into a errors from PySide import.
When 'python-is-python3' is installed:
Traceback (most recent call last):
File "Scripts/PrismInstaller.py", line 83, in <module>
import PrismInstaller_ui
File "Scripts/UserInterfacesPrism/PrismInstaller_ui.py", line 10, in <module>
from PySide import QtCore, QtGui
ImportError: cannot import name 'QtCore' from 'PySide' (unknown location)
Scripts/PrismCore.py:41: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Traceback (most recent call last):
File "Scripts/PrismCore.py", line 84, 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 92, in <module>
from PySide.QtCore import *
ModuleNotFoundError: No module named 'PySide.QtCore'During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Scripts/PrismCore.py", line 97, in <module>
from PySide2.QtCore import *
ImportError: /home/bastian/Software/Prism_v1.3.0.5_Linux/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 "Scripts/PrismCore.py", line 101, in <module>
from PySide.QtCore import *
ModuleNotFoundError: No module named 'PySide.QtCore'
Even after using pip3 to install PySide2 I got an error:
Traceback (most recent call last):
File "Scripts/PrismInstaller.py", line 83, in <module>
import PrismInstaller_ui
File "Scripts/UserInterfacesPrism/PrismInstaller_ui.py", line 10, in <module>
from PySide import QtCore, QtGui
ImportError: cannot import name 'QtCore' from 'PySide' (unknown location)
Scripts/PrismCore.py:41: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
And when 'python-is-python2':
Traceback (most recent call last):
File "Scripts/PrismInstaller.py", line 83, in <module>
import PrismInstaller_ui
File "Scripts/UserInterfacesPrism/PrismInstaller_ui.py", line 10, in <module>
from PySide import QtCore, QtGui
ImportError: No module named PySide
Traceback (most recent call last):
File "Scripts/PrismCore.py", line 101, in <module>
from PySide.QtCore import *
ImportError: No module named PySide.QtCore
I just installed Prism on my laptop with ubuntu 18.04 just to test and didn't have any issue.
Hope that helps.
Quote from 3dandvfx on 26. January 2021, 7:21Hi,
I have same issue on CentOS 8.
./Prism_setup_Linux.sh
./Prism/Linux_Setup_Integrations.sh: line 6: python: command not found
./Prism/Linux_Setup_Startmenu.sh: line 6: python: command not foundAny hints how to make installer work?
Hi,
I have same issue on CentOS 8.
./Prism_setup_Linux.sh
./Prism/Linux_Setup_Integrations.sh: line 6: python: command not found
./Prism/Linux_Setup_Startmenu.sh: line 6: python: command not found
Any hints how to make installer work?
Quote from RichardF on 16. March 2021, 14:03If you change the "python" command to "python2" in these both files it should fix the errors:
Prism/Linux_Setup_Integrations.sh
Prism/Linux_Setup_Startmenu.sh
If you change the "python" command to "python2" in these both files it should fix the errors:
Prism/Linux_Setup_Integrations.sh
Prism/Linux_Setup_Startmenu.sh