The path is little strange try look in:
/Library/Frameworks/Python.framework/Versions/3.11/
Do from this command line.
Also this will show path.
/Library/Frameworks/Python.framework/Versions/3.11/
python
Do from this command line.
which python # Or python -c "import sys; print(sys.executable)"Use
python3
if not find python. Also this will show path.
G:\div_code λ pip -V pip 22.3 from C:\python310\lib\site-packages\pip (python 3.10) G:\div_code λ pip show pygame Name: pygame Version: 2.1.2 Summary: Python Game Development Home-page: https://www.pygame.org Author: A community project. Author-email: [email protected] License: LGPL Location: c:\python310\lib\site-packages Requires: Required-by:So for me the root path is
C:\python310\python
,which i would set in Spyder or any other editors if i want to use this version.