The forum is active for archival purposes only.

Join our discord community for new topics.

Forum-Navigation
Du musst dich anmelden um Beiträge und Themen zu erstellen.

Prism 1.3 installation problem

VorherigeSeite 2 von 2

Hello!

I'm on 20.04 and have the same issue but haven't been as lucky with using python3 as Lukas. Maybe you can tell me if you did anything differently. I installed the apt package 'python-is-python3' and ran the 'Prism_setup_Linux.sh' but get the following error seemingly related to both PySide and PySide2:

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'

I had no issue running `from Pyside2 import QtCore` in python.

On a sidenote Richard, how do you make line numbered codeblock here?

If you installed PySide2 on your OS you can delete this PySide folder, which might cause conflicts with your version:

/home/bastian/Software/Prism_v1.3.0.5_Linux/Prism/PythonLibs/Python37/PySide/

To get the numbered codeblock you click on "Formats" on the left side above the reply text you are writing and from "Enlighter Codeblocks" you can choose python or any other language.

Alright, I got it installed. But by installing PySide2 with pip3.

Wierdly enough Prism installation seems to start when not run with sudo. But then throws a permission error from what I guess is a Qt prompt. Yes that seems to be it. When I run "sudo python" and then "from PySide2 import QtCore" I get an import error:

ModuleNotFoundError: No module named 'PySide2'

Even though it imported fine when I ran python without sudo. It is a fairly fresh install of 20.04 and haven't done anything much besides installing Houdini, Blender and Unity. Now I ran "sudo pip3 install PySide2" and after prism installed without issue. Hope that helps if there's some changes to 20.04 you need to adjust for!

Can't see the "Formats" you refer to. Attached a screenshot of the comment editor, maybe it is different from yours?

Hochgeladene Dateien:
  • Du musst dich anmelden um auf Uploads zugreifen zu können.

Great that you got it working.

Looks like the format menu is only available for admin users. Unfortunately it looks like there is no setting in wordpress to change that.

 

Hochgeladene Dateien:
  • Du musst dich anmelden um auf Uploads zugreifen zu können.
VorherigeSeite 2 von 2