【python】离线安装第三方库

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/tfcy694/article/details/85274405

Anaconda

搜索bz2安装包: https://anaconda.org/
某些以-C指定源安装的包可能需要登陆

下载bz2文件并执行命令:

conda install --use-local *.bz2

pip

搜索whl安装包:https://pypi.org/

下载whl文件并执行命令:

pip install *.whl

源码

进入源代码文件夹并执行命令:

python(3) setup.py install

猜你喜欢

转载自blog.csdn.net/tfcy694/article/details/85274405