Python Forum
PYTHONHOME Variable correct setting
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PYTHONHOME Variable correct setting
#1
Running latest LibreOffice package on Fedora 42 saw message about recommendation to setting the PYTHONHOME environment variable.

Found lots of links that talk about it, but nothing seems to show a good way to setup.
Some talk about the link to executible, other talk about path to lib.

Looking at my Fedora 42 system, it has multiple pythons? But 3.13 seems highest one, but is also 3.11 with same date?

Have setup this, and error is gone, but that would require a manual change if a new version gets installed.

export PYTHONHOME=/usr/lib64/python3.13

Some also, talk of adding this to .bashrc but that would have to be done for each user?

Is there a Good way to set this up, and is that correct value.
Did not see this message with Fedora 41.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Correct syntax for a variable inside a quotes: MP4Box command JonnyDriller 2 3,704 Feb-02-2020, 01:22 AM
Last Post: JonnyDriller
  Trouble Setting a Variable True basing on an Imput VictorVictus 5 4,139 Aug-02-2019, 08:14 PM
Last Post: VictorVictus
  setting pythonpath variable in environment variables saisankalpj 3 4,482 Dec-05-2018, 10:33 PM
Last Post: Gribouillis
  setting correct path for P2 after uninstalling Py 3 kwfreverie 3 3,891 Feb-02-2018, 08:12 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020