Jan-02-2024, 07:02 AM
(Jan-01-2024, 07:02 AM)Gribouillis Wrote: Which interpreter is executed by py3? Is it the same interpreter as the pip command?
Output:lt1a/forums/3 /home/forums 4> which py3
/usr/host/bin/py3
lt1a/forums/3 /home/forums 5> ls -il /usr/host/bin/py3
144853 lrwxrwxrwx 1 root root 22 Dec 7 18:45 /usr/host/bin/py3 -> ../../../bin/python3.8
lt1a/forums/3 /home/forums 6> ls -il ../../../bin/python3.8
2278 -rwxr-xr-x 1 root root 5465880 Nov 22 05:22 ../../../bin/python3.8
lt1a/forums/3 /home/forums 7> ls -il /usr/bin/python3.8
2278 -rwxr-xr-x 1 root root 5465880 Nov 22 05:22 /usr/bin/python3.8
lt1a/forums/3 /home/forums 8> ls -il /bin/python3.8
2278 -rwxr-xr-x 1 root root 5465880 Nov 22 05:22 /bin/python3.8
lt1a/forums/3 /home/forums 9> /bin/python3.8
Python 3.8.10 (default, Nov 22 2023, 10:22:35)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
lt1a/forums/3 /home/forums 10> /usr/bin/python3.8
Python 3.8.10 (default, Nov 22 2023, 10:22:35)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
lt1a/forums/3 /home/forums 11>
Ubuntu 20.4 replicates /bin and /usr/bin so either path to python3 works. i am doing this as root to ensure that everything is available system-wide for all users.
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.