by swiftcoder · 2y ago · 0 comments
It may not be pre-installed, but if you install Xcode it will also install python3 in /usr/bin/ for you...
Xcode does put a binary with the name python3 into `/usr/bin`. This is not a system Python, but set that aside.
Can you explain how someone might pip install libraries to this instance of Python?
So either your command will fail to install or it will use a version of pip that is on PATH but was installed by some other version of python. So in either case you can't install a library into what you are mistakenly calling a system python.
So the original assertion was not true and you have not been able to make up an ex post justification for it.
% ls -la /usr/bin/(pip3|python3|clang)
-rwxr-xr-x 77 root wheel 119008 4 Aug 12:31 /usr/bin/clang
-rwxr-xr-x 77 root wheel 119008 4 Aug 12:31 /usr/bin/pip3
-rwxr-xr-x 77 root wheel 119008 4 Aug 12:31 /usr/bin/python3