I wish to install last Blender 4.4, but only 4.3 is available, and some add-ons use 4.2 that I need.
How to install different Blender versions?
I wish to install last Blender 4.4, but only 4.3 is available, and some add-ons use 4.2 that I need.
How to install different Blender versions?
Install Blender on Linux | Flathub has 4.4.3. You can look at Downgrading | Flathub Documentation to get older versions. I don’t think the Fedora Flatpaks allow you to do that.
I also want to do this
I changed repository and as you mentioned, Blender 4.4 already was update in flathub, (in Fedora 4.3).
I have another problem
when I used this command in blender console to find the python path, I found this:
import sys; print(sys.executable)
/app/blender/4.4/python/bin/python3.11
… but this path does not exist. Where are installed flatpak files? (I wish to find blender python path)
You can find the directory where the flatpak is installed using:
flatpak info --show-location org.blender.Blender
That directory should have a subdir called /files
, and that dir is mapped to /app
from the POV of the Flatpak app running in its sandbox.
You can get a shell inside the Flatpak sandbox for an app with:
$ flatpak run --command=bash org.kde.kcalc
[📦 org.kde.kcalc ~]$ find /app/ /usr/ -iname "*python*" -type d
/usr/lib/python3.12
/usr/lib/x86_64-linux-gnu/python3.12
/usr/share/gtk-doc/python
Looks like flatpak very secure, but how to install blender python modules like matplotlib?
I tried without luck:
wicho@fedora-jtm:~$ flatpak run org.blender.Blender --background --python -m pip install --user matplotlib
Blender 4.4.3 (hash 802179c51ccc built 2025-04-29 15:12:13)
OSError: Python file "/app/blender/-m" could not be opened: No such file or directory
Error: Cannot read file "/app/blender/pip": No such file or directory
Blender quit
wicho@fedora-jtm:~$ flatpak run --command=/bin/bash org.blender.Blender -c "/app/blender/4.4/python/bin/python3.11 -m pip install --upgrade pip"
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /var/data/python/lib/python3.11/site-packages (25.1.1)
wicho@fedora-jtm:~$ flatpak run --command=bash org.blender.Blender
[📦 org.blender.Blender ~]$ python -m pip install matplotlib
/usr/bin/python: No module named pip
[📦 org.blender.Blender ~]$ python3.11 -m pip install matplotlib
bash: python3.11: command not found
[📦 org.blender.Blender ~]$ find /app/ /usr/ -iname "*python*" -type d
/app/blender/4.4/python
/app/blender/4.4/python/lib/python3.11
/app/blender/4.4/python/lib/python3.11/site-packages/Cython/Includes/cpython
/usr/lib/python3.12
/usr/lib/x86_64-linux-gnu/python3.12
[📦 org.blender.Blender ~]$ /app/blender/4.4/python/lib/python3.11 -m pip install matplotlib
bash: /app/blender/4.4/python/lib/python3.11: Is a directory
[📦 org.blender.Blender ~]$ /app/blender/4.4/python/lib/python3^C1 -m pip install matplotlib
[📦 org.blender.Blender ~]$ ^C
[📦 org.blender.Blender ~]$ exit
exit
… in another try… looks like already was installed, but in blender is not loaded:
wicho@fedora-jtm:~$ flatpak run --command=bash org.blender.Blender
[📦 org.blender.Blender ~]$ app/blender/4.4/python/bin/python3.11 -m pip install --upgrade pip
bash: app/blender/4.4/python/bin/python3.11: No such file or directory
[📦 org.blender.Blender ~]$ /app/blender/4.4/python/bin/python3.11 -m pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /var/data/python/lib/python3.11/site-packages (25.1.1)
[📦 org.blender.Blender ~]$ /app/blender/4.4/python/bin/python3.11 -m pip install --user matplotlib
Requirement already satisfied: matplotlib in /var/data/python/lib/python3.11/site-packages (3.10.3)
Requirement already satisfied: contourpy>=1.0.1 in /var/data/python/lib/python3.11/site-packages (from matplotlib) (1.3.2)
Requirement already satisfied: cycler>=0.10 in /var/data/python/lib/python3.11/site-packages (from matplotlib) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /var/data/python/lib/python3.11/site-packages (from matplotlib) (4.58.4)
Requirement already satisfied: kiwisolver>=1.3.1 in /var/data/python/lib/python3.11/site-packages (from matplotlib) (1.4.8)
Requirement already satisfied: numpy>=1.23 in /app/blender/4.4/python/lib/python3.11/site-packages (from matplotlib) (1.26.4)
Requirement already satisfied: packaging>=20.0 in /var/data/python/lib/python3.11/site-packages (from matplotlib) (25.0)
Requirement already satisfied: pillow>=8 in /var/data/python/lib/python3.11/site-packages (from matplotlib) (11.2.1)
Requirement already satisfied: pyparsing>=2.3.1 in /var/data/python/lib/python3.11/site-packages (from matplotlib) (3.2.3)
Requirement already satisfied: python-dateutil>=2.7 in /var/data/python/lib/python3.11/site-packages (from matplotlib) (2.9.0.post0)
Requirement already satisfied: six>=1.5 in /var/data/python/lib/python3.11/site-packages (from python-dateutil>=2.7->matplotlib) (1.17.0)
[📦 org.blender.Blender ~]$
here is blender when trying to activate vi-suite = error “no module named matplotlib”
You can not install it in the Flatpak. It should either be added to it or added as an extension. It’s probably best to report your issue to GitHub · Where software is built.
Finally I solved. Thanks everyone for the help.
If anyone interested, this how I solved:
In side blender, the script tab writes:
import sys
print(sys.executable)
result should be like this: /app/blender/4.4/python/bin/python3.11
bpy.utils.user_resource("SCRIPTS", path="modules")
the result should like this: /var/home/wicho/.var/app/org.blender.Blender/config/blender/4.4/scripts/modules
flatpak run --command=/bin/bash org.blender.Blender -c “THE_RESULT_OF_1 -m pip install YOUR_MODULE --target=‘THE RESULT_OF_2’”
example:
flatpak run --command=/bin/bash org.blender.Blender -c "/app/blender/4.4/python/bin/python3.11 -m pip install geomdl --target='/var/home/wicho/.var/app/org.blender.Blender/config/blender/4.4/scripts/modules'"
PD: same method too work with distrobox, tested in fedora 42 distrobox