Python

Installation

Virtual Environment

Create environment

python3 -m venv env

Active envinronment

source env/bin/activate

Deactivate environment

deactivate

Freeze 1

pip freeze
virtualenv .env && source .env/bin/activate && pip install -r requirements.txt

Testing more. 2

References

https://stackoverflow.com/questions/6590688/is-it-bad-to-have-my-virtualenv-directory-inside-my-git-repository

Testing markdown notes …

Notes


  1. https://pip.pypa.io/en/stable/reference/pip_freeze/ ↩︎

  2. Here’s one with multiple paragraphs and code.

    Indent paragraphs to include them in the footnote.

    { my code }

    Add as many paragraphs as you like. ↩︎