sam*_*mtt 1 python pip libraries python-wheel
我已经准备好了 Python 脚本和 requirements.txt。
我想要做的是将“requirements.txt”中列出的所有包放入一个文件夹中。例如,在捆绑包中,我将拥有“pymysql”、“bs4”及其所有依赖项的完整包。
我完全不知道该怎么做。请问你能帮帮我吗?我被卡住了,我真的很挣扎。
我正在使用 Python 3.6
我正在使用“pip download -r requirements.txt”,但它没有下载依赖项并只输出我.whl 文件,而我正在寻找“正确的”文件夹..
要使 pip 更喜欢源文件而不是轮子,请使用以下--no-binary标志:
pip download -r requirements.txt --no-binary :all: -d /path/to/download/dir
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4099 次 |
| 最近记录: |