Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why /local?
#1
Python 3.8.10 on Xubuntu (Ubuntu) 20.04.4

when i install a package using pip, it creates directory /local (not /usr/local) and installs that package in that tree (not in /usr). Python looks for modules in /local if it exists, but if it does not exist, it never checks in there for anything. it never even checks if /local exists. i used the strace command to see what file system name space names Python was trying to access (and see what might fail).

1. how would Python know when /local does not exist so it would know not to check there?

2. why is Python looking at /local?

3. why is pip creating and installing in /local?

4. could /local (maybe a mistype without /usr) be misconfigured somewhere?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
why /local? - by Skaperen - Jun-26-2022, 04:14 AM
RE: why /local? - by DeaD_EyE - Jun-26-2022, 11:13 AM
RE: why /local? - by Skaperen - Jun-26-2022, 06:31 PM

Forum Jump:

User Panel Messages

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