![Python Automation Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/411/36699411/b_36699411.jpg)
上QQ阅读APP看书,第一时间看更新
How it works...
The requirements.txt file specifies the module and version, and pip performs a search on pypi.org.
Note that creating a new virtual environment from scratch and running the following will completely recreate your environment, which makes replicability very straightforward:
$ pip install -r requirements.txt
Note that step 2 of the How to do it... section automatically installs other modules that are dependencies, such as urllib3.