Skip to content

AddonManager: fails to install Python dependencies when using AppImage #43

@quartzar

Description

@quartzar

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

When attempting to install an addon that requires the installation of a Python dependency (in the below case - pypresence), the dependency installation fails with the following message:

Failed to execute pip, which may be missing from your Python installation. 
Please ensure your system has pip installed and try again. The failed command was: 

/usr/bin/python3 -m pip --version

Continue with installation of FreecadDiscordPresence anyway?

Clicking "Continue" leads to an indefinite "Installing addon" pop-up, and pip eventually ends up timing out.

For avoidance of doubt, when running /usr/bin/python3 -m pip --version via a terminal I get this output:

❯ /usr/bin/python3 -m pip --version
pip 24.0 from /usr/lib/python3/dist-packages/pip (python 3.12)

Full version info

OS: Ubuntu 24.04.2 LTS (KDE/plasma/xcb)
Architecture: x86_64
Version: 1.0.0.39109 (Git) Conda AppImage
Build type: Release
Branch: (HEAD detached at 1.0.0)
Hash: 2fcc5317fe3aee96ca73475986a577719fc78e20
Python 3.11.9, Qt 5.15.13, Coin 4.0.3, Vtk 9.2.6, OCC 7.7.2
Locale: English/United Kingdom (en_GB)
Stylesheet/Theme/QtStyle: FreeCAD Dark.qss/FreeCAD Dark/Fusion

Subproject(s) affected?

Addon Manager

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions