May-27-2021, 10:53 AM
Hello, I am trying to install python3
I have followed this guide: https://programwithus.com/learn/python/i...ython3-mac
After using the following command:
I have followed this guide: https://programwithus.com/learn/python/i...ython3-mac
After using the following command:
brew install python3The result is as following:
Python has been installed as /usr/local/bin/python3 Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /usr/local/opt/[email protected]/libexec/bin You can install Python packages with pip3 install <package> They will install into the site-package directory /usr/local/lib/python3.9/site-packages tkinter is no longer included with this formula, but it is available separately: brew install [email protected] See: https://docs.brew.sh/Homebrew-and-Python Lukass-Air:~ Lukas$ Lukass-Air:~ Lukas$ python --version -bash: /usr/local/bin/python: No such file or directory Lukass-Air:~ Lukas$ python3 --version -bash: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3: No such file or directory Lukass-Air:~ Lukas$ pip3 install requests -bash: /Library/Frameworks/Python.framework/Versions/3.9/bin/pip3: No such file or directory Lukass-Air:~ Lukas$As you can see from the command output, it says that python3 has been installed as /usr/local/bin/python3 . However, I am not able to reach python from the terminal. I try with commands:
python --version -bash: /usr/local/bin/python: No such file or directoryand
python3 --version -bash: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3: No such file or directoryAlso, I have tried to install requests python module using following command:
pip3 install requestsbut failed with the following result
-bash: /Library/Frameworks/Python.framework/Versions/3.9/bin/pip3: No such file or directoryCan someone help me understand what is wrong and how do I setup PATHS correctly?