几个常用Python库的安装keras,tensorflow,cv2,scikit等镜像快速安装DIY
2021/4/12 12:28:15
本文主要是介绍几个常用Python库的安装keras,tensorflow,cv2,scikit等镜像快速安装DIY,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
基本格式如下:
pip install scikit-image -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
例如
pip install keras -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install tensorflow -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install XX -i https://pypi.mirrors.ustc.edu.cn/simple/
XX代表库的名称。
ModuleNotFoundError: No module named 'skimage’报错的解决办法,诸如此类ModuleNotFoundError: No module named都可以通过cmd进行直接安装。
几大镜像网站:
来源知乎参考:https://zhuanlan.zhihu.com/p/191065264
当然,在python里面的可以直接使用如下的链接镜像地址。
https://pypi.mirrors.ustc.edu.cn/simple/ 中科大镜像 https://pypi.mirror.tuna.tsinghua.edu.cn/simple/ 清华镜像 https://pypi.mirrors.163.com/simple/ 网易镜像 https://pypi.mirrors.huaweicloud.com/simple/ 华为镜像 https://mirrors.cloud.tencent.com/ 腾讯镜像
以及阿里云镜像等等,最近好像正在升级中。
等待自动安装完成就
这篇关于几个常用Python库的安装keras,tensorflow,cv2,scikit等镜像快速安装DIY的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-01-23供应链投毒预警 | 恶意Py包仿冒tensorflow AI框架实施后门投毒攻击
- 2024-01-19attributeerror: module 'tensorflow' has no attribute 'placeholder'
- 2024-01-19module 'tensorflow.compat.v2' has no attribute 'internal'
- 2023-07-17【2023年】第33天 Neural Networks and Deep Learning with TensorFlow
- 2023-07-10【2023年】第32天 Boosted Trees with TensorFlow 2.0(随机森林)
- 2023-07-09【2023年】第31天 Logistic Regression with TensorFlow 2.0(用TensorFlow进行逻辑回归)
- 2023-07-01【2023年】第30天 Supervised Learning with TensorFlow 2(用TensorFlow进行监督学习 2)
- 2023-06-18【2023年】第29天 Supervised Learning with TensorFlow 1(用TensorFlow进行监督学习 1)
- 2023-06-17【2023年】第28天 tensorflow的介绍
- 2023-05-16如何在 Windows10 下运行 Tensorflow 的目标检测?