190524-Python之pip导出与安装项目依赖包

使用pip进行python的包管理,记录下常见的两个,安装与导出项目依赖包

1
2
3
4
5
6
7
8
# 安装依赖
pip install pymysql

# 导出依赖
pip freeze 1> requirements.txt

# 安装项目所有依赖
pip install -r requirements.txt
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×