To create same environment in python, you must know requirements.txt
, it includes packages dependencies and let you install by a single command, a requirements.txt looks like this :1
2
3beautifulsoup4==4.6.0
certifi==2018.1.18
chardet==3.0.4
To generate requirements.txt
1 | # Without using virtual environment |
Install packages from requirements.txt :
1 | pip install -r requirements.txt |
pip install bypass SSL certificate :
1 | pip install --trusted-host pypi.python.org <package_name> |
Reference
https://github.com/bndr/pipreqspip install --help
is your friend.