Install Python and Pycharm On Macos
Install Python and Pycharm On Macos
I show in this video how to install both Python 3 as well as Pycharm on MacOS. I’m using the
free Community version of PyCharm. This course doesn’t require you to use PyCharm however.
Feel free to use any IDE.
Installation Steps
5. Type python -v in the Terminal program and if Python version 2.7 is installed you’ll need to
install Python 3
Install Xcode
1. You’ll need to open up your App Store to install Xcode if you don’t have it
4. You need to type Xcode-select — install to install the Command Line Tools
Install Homebrew
1. Go to brew.sh
2. Copy the command that starts with /usr/bin/ruby… (Get all the Code)
4. Open .bash_profile
5. Put the following line in that file and save the .bash_profile file
1. Export PATH=“/usr/local/opt/python/libexec/bin:$PATH”
Install PyCharm
Setup PyCharm
5. Select that you have never used PyCharm and click Next
8. Don’t install either IdeaVim or Markdown and click Start using PyCharm
2. Name your project, define where to save it, check that you are using the Python 3.7
interpreter under Base interpreter and click Create
5. Verify that you are using Python 3.7 for the Project Interpreter
6. Right click your project folder in the left sidebar and click New -> Python File
8. Type print(“Hello World”) and click Run -> Run in the menu
10. If you want your console window on the right, right click it and select Move to -> Right
Bottom
That’s it. Everything is installed and you’re ready to start writing some Python programs.