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?
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.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.