It's
pip install -r requirements.txt
.
There may be
wheel
file that (setup.py can makes).
Then is
pip install wheel_name.whl
.
wheel contains all,and install needed modules/packages.
This should be done in a virtual environment,to avoid conflict with what you have installed before.
venv is build into Python from 3.6 -->.
Quick demo for Windows, works the same on Linux there can just
source bin/activate
to activate.
# Make enviroment
C:\code
λ python -m venv my_env
# Cd in
C:\code
λ cd my_env
# Activate
C:\code\my_env
λ C:\code\my_env\Scripts\Activate
# Check that pip point to enviroment
(my_env) C:\code\my_env
λ pip -V
pip 10.0.1 from c:\code\my_env\lib\site-packages\pip (python 3.7)
# Install requirements.txt
(my_env) C:\code\my_env
λ pip install -r requirements.txt
Downloading https://files.pythonhosted.org/packages/eb/01/c1f58987b777d6c4ec535b4e004a4a07bfc9db06f0c7533367ca6da8f2a6/certifi-2017.4.17-py2.py3-none-any.whl (375kB)
100% |████████████████████████████████| 378kB 1.4MB/s
.......