Skip to content

Conversation

nater1983
Copy link

Get Python Paths Using the python.get_path() Method:

Retrieve specific paths like purelib and stdlib using python.get_path().

Handle Paths Manually:

Construct the paths based on the information provided by the python.get_path() method.

python_bin.get_path('purelib'): This retrieves the directory where Python packages are installed.
python_bin.get_path('stdlib'): This retrieves the directory for Python standard libraries.

Get Python Paths Using the python.get_path() Method:

    Retrieve specific paths like purelib and stdlib using python.get_path().

Handle Paths Manually:

    Construct the paths based on the information provided by the python.get_path() method.
@nater1983 nater1983 changed the title Getting python install path Fix getting python install path Aug 11, 2024
@rdbende
Copy link
Collaborator

rdbende commented Sep 22, 2024

Unfortunately this doesn't work inside Flatpak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants