python下载依赖包到指定文件夹

用pip命令把python包安装到指定目录
cmd“以管理员身份运行

pip3 download bs4 -d D:\Python37\Lib\site-packages

pip2或者pip3:包管理系统

install:安装

bs4:要安装Python的包

 指定安装目录:-d D:\Python37\Lib\site-packages  

你可能感兴趣的:(pyhton库,python)