https://bugs.kde.org/show_bug.cgi?id=506026
Bug ID: 506026
Summary: No pip packages available in flatpak version
Classification: Applications
Product: LabPlot2
Version First 2.12.0
Reported In:
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When installing Labplot2 with flatpak the pip packages like numpy are not
accessible.
Even when installing python3.12 and numpy on the host.
This comes down to the python version in the Flatpack not using the
site-packages folder from the host.
STEPS TO REPRODUCE
1. Install With Flatpack
2. Install python3.12
3. install numpy with pip
4. create a notepad and run `import numpy`
OBSERVED RESULT
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
EXPECTED RESULT
the import of numpy without a error
SOFTWARE/OS VERSIONS
Debian 12 wayland
Gnome 43.9
Flatpak 1.14.10
LabPlot org.kde.labplot 2.12.0 stable
ADDITIONAL INFORMATION
i got it to work by adding this Variable via Flatseal:
PYTHONPATH=/home/this.user/.local/lib/python3.12/site-packages
--
You are receiving this mail because:
You are watching all bug changes.