Python pip从文件安装包


 description

指定文件test.txt安装包,
test.txt内容为:
pymongo
requests

 command

pip install -r S:\test.txt

 parameter

pip : python 包管理工具
install : 安装包
-r, --requirement <file> : 从给定的文件安装所需要的包

 result

Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.