Open Benjamin-Loison opened 4 months ago
"No module named 'PySide2.QtPrintSupport'" does not return any result on both DuckDuckGo and Google.
pip install PySide2
Defaulting to user installation because normal site-packages is not writeable
Collecting PySide2
Downloading PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl.metadata (5.1 kB)
Collecting shiboken2==5.15.2.1 (from PySide2)
Downloading shiboken2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl.metadata (2.7 kB)
Downloading PySide2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl (164.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.3/164.3 MB 4.2 MB/s eta 0:00:00
Downloading shiboken2-5.15.2.1-5.15.2-cp35.cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl (975 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 975.4/975.4 kB 5.6 MB/s eta 0:00:00
Installing collected packages: shiboken2, PySide2
Successfully installed PySide2-5.15.2.1 shiboken2-5.15.2.1
Source: the Stack Overflow answer 57033483
pyzo
Pyzo 4.16.0
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "/home/benjamin/.local/bin/pyzo", line 8, in <module>
sys.exit(main())
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/__main__.py", line 41, in main
pyzo.start()
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/__init__.py", line 54, in start
from ._start import start
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/_start.py", line 16, in <module>
from pyzo.util import paths
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/util/paths.py", line 7, in <module>
from pyzo.qt import QtCore
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/qt/__init__.py", line 48, in <module>
API = _load_modules(_get_desired_api())
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/qt/__init__.py", line 38, in _load_modules
importlib.import_module(api)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/benjamin/.local/lib/python3.10/site-packages/PySide2/__init__.py", line 107, in <module>
_setupQtDirectories()
File "/home/benjamin/.local/lib/python3.10/site-packages/PySide2/__init__.py", line 58, in _setupQtDirectories
import shiboken2
File "/home/benjamin/.local/lib/python3.10/site-packages/shiboken2/__init__.py", line 27, in <module>
from .shiboken2 import *
Started our command server
Loaded theme 'Solarized_Dark'
Loaded theme 'Solarized_Light'
Loaded theme 'Dark'
Loaded theme 'Scintilla'
Loaded theme 'Default'
Loaded theme 'default_dark'
Note that the shell configuration does not lead to specific code execution.
The IDE works but has in shell:
Python 3.10.12 (main, Mar 22 2024, 16:50:05) on linux (64 bits).
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/pyzokernel/start.py", line 159, in <module>
__pyzo__.run()
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/pyzokernel/interpreter.py", line 215, in run
self._prepare()
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/pyzokernel/interpreter.py", line 290, in _prepare
guiName, guiError = self._integrate_gui(startup_info)
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/pyzokernel/interpreter.py", line 526, in _integrate_gui
self.guiApp = tryApp()
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/pyzokernel/guiintegration.py", line 454, in __init__
QtGui, QtCore = self.importCoreAndGui()
File "/home/benjamin/.local/lib/python3.10/site-packages/pyzo/pyzokernel/guiintegration.py", line 653, in importCoreAndGui
import PySide2 # noqa
File "/home/benjamin/.local/lib/python3.10/site-packages/PySide2/__init__.py", line 107, in <module>
_setupQtDirectories()
File "/home/benjamin/.local/lib/python3.10/site-packages/PySide2/__init__.py", line 58, in _setupQtDirectories
import shiboken2
File "/home/benjamin/.local/lib/python3.10/site-packages/shiboken2/__init__.py", line 27, in <module>
from .shiboken2 import *
This is the Pyzo interpreter with integrated event loop for PYSIDE2.
Type 'help' for help, type '?' for a list of *magic* commands.
>>>
+2
On Linux Mint 21.3 Cinnamon Framework 13 VirtualBox Linux Mint (trust) virtual machine:
+2