我已经使用pip
通过以下命令安装了scikit-learnpip install scikit-learn
当我查看它的版本时。
>>> sklearn.__version__
'0.17.1'
当我尝试通过指定如下版本来安装时:
pip install scikit-learn == 0.18.dev0
错误是:
收集scikit-learn == 0.18.dev0 C:\ PROGRA~1 \ QGISWI~1 \ apps \ Python27 \ lib \ site-packages \ pip_vendor \ requests \ packages \ urllib3 \ util \ ssl_.py:315:SNIMissingWarning:已发出HTTPS请求,但SNI(主题名称指示)此平台无法扩展到TLS。这可能导致服务器显示错误的TLS证书,这可能导致验证失败。有关更多信息,请参阅https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning。 SNIMissingWarning C:\ PROGRA~1 \ QGISWI~1 \ apps \ Python27 \ lib \ site-packages \ pip_vendor \ requests \ packages \ urllib3 \ util \ ssl_.py:120:InsecurePlatformWarning:真正的SSLContext对象不可用。这可以防止urllib3正确配置SSL,并可能导致某些SSL连接失败。有关更多信息,请参阅https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning。 InsecurePlatformWarning 找不到满足要求的版本scikit-learn == 0.18.dev0(版本:0.9,0.10,0.11,0.12,0.12.1,0.13,0.13.1,0.14,0.14.1,0.15.0b1,0.15 .0b2,0.15.0,0.15.1,0.15.2,0.16b1,0.16.0,0.16.1,0.17b1,0.17,0.17.1) 未找到scikit-learn == 0.18.dev0的匹配分布 C:\ PROGRA~1 \ QGISWI~1 \ apps \ Python27 \ lib \ site-packages \ pip_vendor \ requests \ packages \ urllib3 \ util \ ssl_.py:120:InsecurePlatformWarning:真正的SSLContext对象不可用。这可以防止urllib3正确配置SSL,并可能导致某些SSL连接失败。有关更多信息,请参阅https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning。 InsecurePlatformWarning
如何用pip安装scikit-learn version == 0.18.dev0?