cmd进入命令提示符界面 进入D盘:d: 进入python.exe所在文件夹,我的命令是cd D:\Programs\Python\Python38 pip install 模块名(eg:xgboost) 下载完成