Python Forum
/home/pi/.local/bin is not on PATH
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
/home/pi/.local/bin is not on PATH
#3
(Feb-07-2021, 10:09 PM)Gribouillis Wrote: Add it to $PATH, for example in the ~/.bashrc file, use
Output:
export PATH="$HOME/.local/bin:$PATH"
$PATH is not related to Python. It is the list of directories where the system looks for executable programs.

I installed w1thermsensor and it ended up in directory '/home/pi/.local/bin'. If I'm only going to access w1thermsensor from a Python program wouldn't it be enough to append the directory to sys.path?
Reply


Messages In This Thread
/home/pi/.local/bin is not on PATH - by hcccs - Feb-07-2021, 09:51 PM
RE: /home/pi/.local/bin is not on PATH - by hcccs - Feb-08-2021, 09:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,257 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  Home Directory pgoosen 9 6,520 Oct-15-2020, 12:37 PM
Last Post: DeaD_EyE
  Add path to a local file in pop-up field pythonscripting 1 1,677 Feb-08-2020, 10:57 PM
Last Post: Larz60+
  .pth file does not show up in sys.path when configuring path. arjunsingh2908 2 5,836 Jul-03-2018, 11:16 AM
Last Post: arjunsingh2908

Forum Jump:

User Panel Messages

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