Install virtual environment
virtualenv env
Run virtual environment
source env/bin/activate
Install packages
pip3 install -r requirements.txt
Pack .py
as .exe
pyinstaller -F ./crawler.py
# or run in shell script
./pack.sh
Save packages in requirements.txt
(Optional)
pip3 freeze > requirements.txt