Skip to content

Instantly share code, notes, and snippets.

@mommi84
Last active June 5, 2020 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mommi84/ec3d8c983d9034c8f244c57f1e67c02b to your computer and use it in GitHub Desktop.
Save mommi84/ec3d8c983d9034c8f244c57f1e67c02b to your computer and use it in GitHub Desktop.
New Python environment quickstart.
#!/usr/bin/env bash
python3 -m venv env
source env/bin/activate
pip3 install ipykernel jupyter
python3 -m ipykernel install --user --name=env
jupyter notebook
# for 'requirements.txt':
# pip3 freeze > requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment