Skip to content

Instantly share code, notes, and snippets.

@sio2boss
Last active October 12, 2018 04:33
Show Gist options
  • Save sio2boss/7ef680dcd801f06e95afd38d1144cfca to your computer and use it in GitHub Desktop.
Save sio2boss/7ef680dcd801f06e95afd38d1144cfca to your computer and use it in GitHub Desktop.
Getting started on the right foot with python
# 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