安装库是什么意思

安装库是什么意思,第1张

安装库是软件源的意思。

软件源就是一个应用程序安装库袜槐,很多很多的应用软件都在这个库里面。颂灶他可以是网络服务器,是光盘,甚至是硬盘上的一个目录。

常见软件源类型GEM源、告樱友APT源、YAST源、ISO源、YUM源、UAP源。

导出python库命令绝滑为:

pip3 freeze >filename.txt

三方库方法为:

pip install -r pypy.txt

指定源安装库

pip install 模块名 -i  http://pypi.douban.com/simple  --trusted-host  pypi.douban.com

pip3 install threads -i  https://pypi.tuna.tsinghua.edu.cn/simple/  --trusted-host  pypi.tuna.tsinghua.edu.cn

python库镜像源

http://mirrors.aliyun.com/pypi/simple/ 阿里云

https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大物宏模学

http://pypi.douban.com/simple/ 豆瓣

https://pypi.tuna.tsinghua.edu.cn/simple/  罩缓清华大学

http://pypi.mirrors.ustc.edu.cn/simple/ 中国科学技术大学


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/tougao/12381027.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-23
下一篇2023-05-23

发表评论

登录后才能评论

评论列表(0条)

    保存