2021 Mac OSX Set up: Brew, Python3, pipenv, Pycharm
HTML-код
- Опубликовано: 22 авг 2024
- My first video!
In this video you will see how to set up python3 on a Mac (Big Sur 11.2.3). More specifically, here is what you will see:
1. Installing the Xcode command line tools (for working with terminal)
2. Installing brew (a software management system)
3. Editing the PATH variable (so the computer knows where to find software)
4. Installing ptyhon3.9+ (this allows us to not work with default mac-python)
5. Installing pipenv (for creating safe isolated project environments)
6. Installing Pycharm-ce (an advanced IDE for working on coding projects)
Here are some reference links I used in making this video:
- Article for setting up python on Mac: docs.python-gu...
- Brew home page: brew.sh/
- Article for installing pipenv: docs.python-gu...
- Pycharm home page (about): www.jetbrains....
Information about Cart's Coding Club:
If you want to learn programming in new and collaborative way Cart's Coding Club is right for you. At C3, we focus on helping you achieve your learning goals by tailoring the experience to what you need. Through 1-on-1 guidance sessions, real world challenges, group project work, and real resources for the 21st century, you will will embark on a journey unlike anything you have experienced before! If you want to learn more about Cart's Coding Club, feel free to fill out this simple application and we will get in touch: docs.google.co...
Exactly what I needed! Great video!
please continue the series with conda install and also tensorflow gpu for mac m1
How endlessly complicated! Hooray!
Best explanation ever
+1 subscriber
hey this really helped my out. Just started using mac. Thanks!
Thank you 🙏🏾
Saved my day. Thank you!
I've never understood why Xcode is needed when you can install Python 3 from the Terminal. Or download it directly. Or through another package manager, like Anaconda. Can you explain what Xcode is, and how that install process is different from the others mentioned?
I got this: 'command not found: brew' until following your video at 7:05
You have to install brew on your mac from the terminal. Here is a link to the website: brew.sh/
At the top of the page, there is a command, copy it and paste it into the terminal.
Does this work to resolve the ‘x86_x64’ and ‘arm64e’ error while running some programs like R or NLTK?
Thank you!!! EXPLAINED SO CLEARLY! SUBSCRIBING
when you explain about pyenv why don't you download brew install pyenv? is not available? i stop there. Not available thru BREW?
Does the export PATH change for Ventura on a M1 MBP?
Great, very helpful
Thanks for the feed back!
is rly needed to download command line tool before brew or can just dowload brew with out commands line tool
Can you set up with m1,m2?
i get PIPENV NOT FOUND when I write which pipenv
cany you help me please
Hi, have you changed the PATH variable and updated (restarted) your terminal?
Hey so I am on a M1 Air and whenever I install python3 with brew and search which python it shows me the directory of homebrew and not the /usr/bin. Any advice?
Yep,I'm using M1 Pro and I just have a issue like you
Sorry for the late reply. Let’s think about this. Homebrew is a package manager. All it does is help you install extra software tools to make your life a bit easier.
If from the terminal you go to the homebrew directory and type “ls -la” you should see that the packages ‘point’ (sim-link) to usr/bin. More specifically, the files that output should have little “->” then another directory.
So if I am correct (not sure if I am) then your python 3 is actually pointing to usr/bin. This would mean you are in the clear and when you choose the python to use in your IDE, you can just make sure to choose the one in the Homebrew directory!
Hope this helps
hey, python on mac os is python2 by default even after installing python3, do u know any fixes?
Correct. Python2 is the default because it is used in some behind the scene processes on the mac. You will want to pay attention to the PATH. THe PATH tells the computer where to look to find the python version you want (ie. usr/local/bin/python3/)
didn't work for me pls help
Be more specific. What part are you having trouble with?
Not install home brew in terminal plz helo me