快速安装各种Python库的Python之所以在下载第三方库时速度太慢,是因为Python的资源来自国外。 这里列出了国内的镜像下载源。 它包含了图像处理和机器学习中常用的库。
pipinstallnumpymatplotlib- I http://pypi.douban.com/simple----可信- hostpypi.douban.compipinstallpandasscipyscikit-learnscikit-image-I http://pypi.douban.com simple----可信- hostpypi.douban.compipinstallopencv-python-I http://pypi.douban.com/simple---trusted-hostpypi.douban.compipinstalljupyter-I http://pypi.douban.com/simple---trusted-hostpp
要验证安装是否成功,请在Python上运行代码验证,没有错误。