# Does the flatpak distribution of Gramps 6.0.5 allow Installation of prerequisites using 'pip'?

**URL:** <https://gramps.discourse.group/t/does-the-flatpak-distribution-of-gramps-6-0-5-allow-installation-of-prerequisites-using-pip/8634>\
**Category:** Help\
**Tags:** third-party-addon, prerequisite-mgmt, flatpak\
**Created:** [October 5, 2025, 8:06pm UTC](https://gramps.discourse.group/t/does-the-flatpak-distribution-of-gramps-6-0-5-allow-installation-of-prerequisites-using-pip/8634 "2025-10-05T20:06:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brinycoolie](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@Brinycoolie](https://gramps.discourse.group/u/Brinycoolie)\
**Post date:** [October 5, 2025, 8:06pm UTC](https://gramps.discourse.group/t/does-the-flatpak-distribution-of-gramps-6-0-5-allow-installation-of-prerequisites-using-pip/8634/1 "2025-10-05T20:06:40Z")

</div>

6.05 on Linux Mint 22.2 Zara (Ubuntu Noble)

just tried to install the ‘lifeline ancestor and lifeline descendant’ charts and got an error which I have not seen anywhere else and which seems to need pip to install the prerequisites, so its possible that pip may need to be added to the flatpak manifest for the add-on manager to do its job.

> 521404: ERROR: grampsapp.py: line 188: Unhandled exception  
> Traceback (most recent call last):  
> File “/app/lib/python3.12/site-packages/gramps/gui/plug/\_windows.py”, line 295, in \_\_on\_install\_clicked  
> subprocess.check\_output(  
> File “/usr/lib/python3.12/subprocess.py”, line 466, in check\_output  
> return run(\*popenargs, stdout=PIPE, timeout=timeout, check=True,  
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> File “/usr/lib/python3.12/subprocess.py”, line 548, in run  
> with Popen(\*popenargs, \*\*kwargs) as process:  
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> File “/usr/lib/python3.12/subprocess.py”, line 1026, in **init**  
> self.\_execute\_child(args, executable, preexec\_fn, close\_fds,  
> File “/usr/lib/python3.12/subprocess.py”, line 1955, in \_execute\_child  
> raise child\_exception\_type(errno\_num, err\_msg, err\_filename)  
> FileNotFoundError: [Errno 2] No such file or directory: ‘pip’

or maybe its a system install issue. Not sure.

If its a bug I will file it but if its only a needed addon to the manifest I will refrain.

Brian

---

<div class="post-metadata">

**Author:** ![S.Mackay](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@S.Mackay](https://gramps.discourse.group/u/S.Mackay)\
**Post date:** [October 10, 2025, 1:08pm UTC](https://gramps.discourse.group/t/does-the-flatpak-distribution-of-gramps-6-0-5-allow-installation-of-prerequisites-using-pip/8634/2 "2025-10-10T13:08:16Z")

</div>

Flatpaks hosted by Flathub are compiled by Github and are not meant to be modified by the user. So pip tends to be unusable for flatpaks in general. This is a security issue meant to protect flatpak users by having apps operate in a sandbox and not allowing flatpak apps or runtimes to be modified after being compiled. This is the downside of flatpaks for apps like Gramps that have a lot of customizations available which depends on a variety of additional prerequisites.

The Gramps flatpak has some extra dependencies compiled into the flatpak so that common addons can be used by users. The list of dependencies are in the ReadMe at [GitHub - gramps-project/flatpak: Manifest and data files required to make a Gramps Flatpak](https://github.com/gramps-project/flatpak) If you want a dependency added to the Gramps flatpak, please post an issue at the Gramps Project flatpak repo at [GitHub · Where software is built](https://github.com/gramps-project/flatpak/issues) if you have a Github account, or at the Gramps bugtracker where someone could tag me.

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [October 10, 2025, 1:14pm UTC](https://gramps.discourse.group/t/does-the-flatpak-distribution-of-gramps-6-0-5-allow-installation-of-prerequisites-using-pip/8634/3 "2025-10-10T13:14:13Z")

</div>

> [@S.Mackay](#):
>
> So pip tends to be unusable for flatpaks in general.

This is also the case for our Snap package.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [November 9, 2025, 1:14pm UTC](https://gramps.discourse.group/t/does-the-flatpak-distribution-of-gramps-6-0-5-allow-installation-of-prerequisites-using-pip/8634/4 "2025-11-09T13:14:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
