Mac上安装Python相关扩展包异常
2017-09-24 23:31
309 查看
安装scikit-learn
1)报错提示pypi.v2ex.com不是受信的安全节点
chenwenxindembp:bin chenwenxin$ pip install scikit-learn
Collecting scikit-learn The repository located at
pypi.v2ex.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host
pypi.v2ex.com'. Could not find a version that satisfies the requirement scikit-learn (from versions: ) No matching distribution found for scikit-learn
解决办法(添加host信任): pip --trusted-host
pypi.v2ex.com install scikit-learn
2)安装中提示对某些目录没有权限
解决办法:加上sudo,sudo pip --trusted-host
pypi.v2ex.com install scikit-learn
1)报错提示pypi.v2ex.com不是受信的安全节点
chenwenxindembp:bin chenwenxin$ pip install scikit-learn
Collecting scikit-learn The repository located at
pypi.v2ex.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host
pypi.v2ex.com'. Could not find a version that satisfies the requirement scikit-learn (from versions: ) No matching distribution found for scikit-learn
解决办法(添加host信任): pip --trusted-host
pypi.v2ex.com install scikit-learn
2)安装中提示对某些目录没有权限
解决办法:加上sudo,sudo pip --trusted-host
pypi.v2ex.com install scikit-learn
相关文章推荐
- python2.7图像处理相关模块安装使用异常
- 在winows下安装相关python扩展包问题
- redis安装 phpredis Jedis 扩展的实现及注意事项,php,java,python相关插件安装实例代码和文档推荐
- 关于Mac安装PHP相关扩展出现Zend/zend_config.h缺失的问题记录
- mac下安装memcache扩展出现问题
- MAC下安装ICU和PHP INTL 扩展
- MAC 下 安装 MAMP的PHP redis扩展
- Mac下安装python3
- Mac 下 yii2安装 redis扩展
- MAC 下面 PYTHON的安装与使用
- mac python2.7安装PIL.Image模块
- python 如何安装Numpy Scipy pandas等扩展库
- python(1):相关库的安装
- mac下安装和使用MySQL-python
- 编译安装python2.7及相关模块(debian5.0.1)
- mac 安装python和Django开发环境
- mac下安装php扩展Cannot find autoconf报错
- MAC安装Python开发环境
- Mac OS X 10.9自带php-fpm的配置使用和扩展安装
- mac 安装python网络请求包requests