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:
The result is as following:
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:
and
Also, I have tried to install requests python module using following command:
but failed with the following result
Can someone help me understand what is wrong and how do I setup PATHS correctly?
I have followed this guide: https://programwithus.com/learn/python/i...ython3-mac
After using the following command:
1 |
brew install python3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
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 / python@ 3.9 / 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 python - tk@ 3.9 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$ |
1 2 |
python - - version - bash: / usr / local / bin / python: No such file or directory |
1 2 |
python3 - - version - bash: / Library / Frameworks / Python.framework / Versions / 3.9 / bin / python3: No such file or directory |
1 |
pip3 install requests |
1 |
- bash: / Library / Frameworks / Python.framework / Versions / 3.9 / bin / pip3: No such file or directory |