Last active
February 24, 2018 17:05
-
-
Save lordofthedanse/d1997b2d5b471589a963f2f887d92978 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Homebrew | |
1. xcode-select --install | |
2. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
3. brew doctor | |
Install Python3 using Homebrew | |
1. brew install python3 | |
Install packages for Python3 | |
1. pip3 install [package name without brackets] | |
Using Python3 as a Build System in SublimeText3 | |
1. Select: Tools -> Build System -> New Build System | |
2. Replace default text with lines below: | |
{ | |
"cmd": ["python3", "-i", "-u", "$file"], | |
"file_regex": "^[ ]File \"(...?)\", line ([0-9]*)", | |
"selector": "source.python" | |
} | |
3. Save the file as: python3.sublime-build | |
4. To run .py files with python 3, select Tools -> Build system -> python3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment