I may be wrong, but it seems to me Python3 comes preinstalled in MBP M1. If it is, do I still need to install another version of Python3 using Homebrew? I'm asking because it seems my Django apps can't access Python3 and I am reluctant to install a duplicate version (had a lot of confusion with the last laptop).
My query results via the Terminal: MBP21:~$ which python /usr/bin/python MBP21:~$ python --version Python 2.7.18 MBP21:~$ where python /usr/bin/python MBP21:~$ python3 --version Python 3.8.9 MBP21:~$ which python3 /usr/bin/python3 MBP21:~$ where python3 /usr/bin/python3
Karmen is an SRE. Beyond the code, Karmen is a connoisseur of experiences. From savoring flaming hot ramen to indulging in late-night gaming escapades, her multifaceted interests enrich her outlook.
Hi Yumei, 👋🏽 Humm, I'm not sure about that. This post was originally made when the M1 chip first debuted and I don't know if that was the case back then. But please share any updated recommendations in the comments with everyone. This information, like most technical related things will definitely need to be updated to keep it current and useful. 😁
Your post was very helpful. My issue was resolved, but I'm not sure I can clearly identify what resolved it--the last thing I did was restarting the Terminal lol. I was trying to work on a project I'd started on another MBP, so I re-created VENV. Python3 does seem to come preinstalled--I didn't install it and didn't think to check specifically for Python3.
Karmen is an SRE. Beyond the code, Karmen is a connoisseur of experiences. From savoring flaming hot ramen to indulging in late-night gaming escapades, her multifaceted interests enrich her outlook.
Well that's really good to hear! I'm glad your issue is resolved. Restarting the Terminal is always a good idea, I do that sometimes too. I didn't know that Python3 is preinstalled now. I wonder if that is because of Monterey iOS. If you ever figure out what resolved your issue please let me know. :)
Update: Though Python3 did come with my MBP, Visual Studio Code wasn't happy using it and gave me an error. So I hadn't resolved anything after all 😬 So I followed the steps you outlined and installed Python3 using Homebrew. The only change I made was brew install python3 instead of brew install python3 *. The * at the end threw an error (No available formula with the name "Applications".)-not sure what that meant. Bottom line: Python3 was successfully installed. Thank you!
Karmen is an SRE. Beyond the code, Karmen is a connoisseur of experiences. From savoring flaming hot ramen to indulging in late-night gaming escapades, her multifaceted interests enrich her outlook.
I may be wrong, but it seems to me Python3 comes preinstalled in MBP M1. If it is, do I still need to install another version of Python3 using Homebrew? I'm asking because it seems my Django apps can't access Python3 and I am reluctant to install a duplicate version (had a lot of confusion with the last laptop).
My query results via the Terminal:
MBP21:~$ which python
/usr/bin/python
MBP21:~$ python --version
Python 2.7.18
MBP21:~$ where python
/usr/bin/python
MBP21:~$ python3 --version
Python 3.8.9
MBP21:~$ which python3
/usr/bin/python3
MBP21:~$ where python3
/usr/bin/python3
Hi Yumei, 👋🏽 Humm, I'm not sure about that. This post was originally made when the M1 chip first debuted and I don't know if that was the case back then. But please share any updated recommendations in the comments with everyone. This information, like most technical related things will definitely need to be updated to keep it current and useful. 😁
Your post was very helpful. My issue was resolved, but I'm not sure I can clearly identify what resolved it--the last thing I did was restarting the Terminal lol. I was trying to work on a project I'd started on another MBP, so I re-created VENV. Python3 does seem to come preinstalled--I didn't install it and didn't think to check specifically for Python3.
Well that's really good to hear! I'm glad your issue is resolved. Restarting the Terminal is always a good idea, I do that sometimes too. I didn't know that Python3 is preinstalled now. I wonder if that is because of Monterey iOS. If you ever figure out what resolved your issue please let me know. :)
Update: Though Python3 did come with my MBP, Visual Studio Code wasn't happy using it and gave me an error. So I hadn't resolved anything after all 😬 So I followed the steps you outlined and installed Python3 using Homebrew. The only change I made was
brew install python3
instead ofbrew install python3 *
. The*
at the end threw an error (No available formula with the name "Applications".
)-not sure what that meant. Bottom line: Python3 was successfully installed. Thank you!Yay! Success! I'm so happy that you got it all figured out! Glad my post could help. 😃