Install and Update packages from a File¶
For pip you can create so called
These files just list one package per line. Packages from this file can
be installes with
pip install -r <requirements_file.txt> and updatet
pip install -r <requirements_file.txt> -U. The update only
makes sence when you do not specify a version number with the package.
Since pip does not support an “update all” mechanism this is a good way to install and update the needed packages.
Install GIT development code¶
pip install git+<https_git_clone_link> # for branch_name: pip install git+<https_git_clone_link>@<branch_name>
To put it into a requirements file just add this:
git+<https_git_clone_link> instead of the normal package name.
Install editable local Projects¶
pip install -e .