Public bug reported:
Libs are compiled for Python 3.13 but it's Python 3.14 on 26.04
Errors without renaming the libraries to 3.14:
$ invesalius3
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/wx/core.py", line 2338, in Notify
self.notify()
~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/wx/core.py", line 3550, in Notify
self.result = self.callable(*self.args, **self.kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/invesalius/app.py", line 237, in Startup
from invesalius.gui.frame import Frame
File "/usr/share/invesalius/invesalius/gui/frame.py", line 29, in <module>
import invesalius.gui.default_tasks as tasks
File "/usr/share/invesalius/invesalius/gui/default_tasks.py", line 28, in
<module>
import invesalius.gui.data_notebook as nb
File "/usr/share/invesalius/invesalius/gui/data_notebook.py", line 40, in
<module>
import invesalius.data.slice_ as slice_
File "/usr/share/invesalius/invesalius/data/slice_.py", line 34, in <module>
from invesalius.data.mask import Mask
File "/usr/share/invesalius/invesalius/data/mask.py", line 35, in <module>
from invesalius_cy import floodfill
ImportError: cannot import name 'floodfill' from 'invesalius_cy'
(/usr/lib/invesalius/invesalius_cy/__init__.py)
Traceback (most recent call last):
File "/usr/share/invesalius/app.py", line 261, in OnClose
if self.fc.IsRunning():
^^^^^^^
AttributeError: 'Inv3SplashScreen' object has no attribute 'fc'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/wx/core.py", line 2338, in Notify
self.notify()
~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/wx/core.py", line 3550, in Notify
self.result = self.callable(*self.args, **self.kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/invesalius/app.py", line 131, in Startup2
self.control = self.splash.control
^^^^^^^^^^^^^^^^^^^
AttributeError: 'Inv3SplashScreen' object has no attribute 'control'
After renaming with commands like this for all libs:
/usr/lib/invesalius/invesalius_cy$ sudo ln -s
cy_mesh.cpython-313-x86_64-linux-gnu.so cy_mesh.cpython-314-x86_64-linux-gnu.so
it just fails with segfault:
$ invesalius3
<frozen importlib._bootstrap>:491: RuntimeWarning: compile time Python version
3.13 of module 'invesalius_cy.floodfill' does not match runtime version 3.14
Segmentation fault (core dumped)
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: invesalius-bin 3.1.99998-7build1
ProcVersionSignature: Ubuntu 7.0.0-34.34-generic 7.0.14
Uname: Linux 7.0.0-34-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Fri Sep 25 19:02:06 2026
InstallationDate: Installed on 2026-09-16 (9 days ago)
InstallationMedia: Kubuntu 26.04.1 LTS "Resolute Raccoon" - Release amd64
(20260826.1)
SourcePackage: invesalius
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: invesalius (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2168553
Title:
Not compiled for Python 3.14, cannot launch Invesalius on 26.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/invesalius/+bug/2168553/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs