scikit-learn安装

安装找到一个简书版本,讲的挺好的,先贴网址

https://www.jianshu.com/p/26ab6c22051e

但是在安装过程中,遇见了问题,现在贴一下:

numpy_quaternion-2018.5.17-cp36-cp36m-win32.whl is not a supported wheel on this platform.

百度了一下很多解决方法,看到说:

在shell中输入import pip; print(pip.pep425tags.get_supported())可以获取到pip支持的文件名还有版本

然鹅,输入之后,出现了

AttributeError: module 'pip' has no attribute 'pep425tags'

google了一下,找到解决方案:

For pip v10 use this:

import pip; import pip._internal; print(pip._internal.pep425tags.get_supported())
完美!!

猜你喜欢

转载自blog.csdn.net/ljm1995/article/details/80437961