我是一些事情的新手。任何人都可以帮忙...
有什么方法可以安装与特定模块相关的所有模块,例如 pygame 有几个插件 - pygame-menu, pygame-input, pygame-input, pygame-widgets, pygame-geometry, pygame- anisprite, pygame-pgu, 恐龙-pygame, pygame-gui, pygame-engine, pygame-assets, utils-pygame, pygame-txt, pygame-ai, pygame-vkeyboard, pygame-dashboard, pygame-minesweeper, pygame-spritesheet,等等
而且我实际上必须手动下载所有我需要的内容,这很耗时。有什么办法可以下载所有包含pygame的模块吗?
创建一个需求文件,您可以调用它来一次性下载和安装所有必需的模块。
pip install -r requirement.txt
该文件看起来像这样
#requirement.txt
numpy==1.18.4
openpyxl==3.0.3
pandas==1.0.3
pefile==2019.4.18
PyInstaller==3.6
pylint==2.5.3
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句