Last active
October 12, 2018 04:33
-
-
Save sio2boss/7ef680dcd801f06e95afd38d1144cfca to your computer and use it in GitHub Desktop.
Getting started on the right foot with python
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
# For linux python 3 instructions see https://gist.github.com/softwaredoug/a871647f53a0810c55ac | |
# Install python manager | |
brew install pyenv | |
# Install virtual environment manager | |
brew install pyenv-virtualenv | |
# Update your .zshrc | |
# Install latest python | |
pyenv install 3.6.0 | |
pyenv local 3.6.0 | |
python --version | |
# pipenv | |
pip install pipenv | |
# Create a project | |
mkdir MyPythonProject && cd MyPythonProject | |
pipenv --three | |
# Install dependencies | |
pipenv install tensorflow matplotlib jupyter Pillow ggplot seaborn | |
# To run python do | |
pipenv shell | |
python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment