How to setup my python venv environments

Jul 9, 2017

The default steps I need to remember when creating a new python project.

1 mkdir project-folder
2 cd project-folder
3 python3 -m venv python-env

Start installing stuff with:

1 python-env/bin/pip install something

bad interpreter: No such file or directory

  • The path you are using contains spaces
  • The path you are using is too long
Other useful commands
1 python-env/bin/pip freeze > requirements.txt