原因:一般会有requirements.txt,放着需要的模块。 方法: 在requirements.txt所在的文件夹下,打开PowerShell,输入:pip install -r requirements.txt --user