python 安装pandas 出现InsecurePlatformWarning: A true SSLContext object is not available.
2015-12-15 14:47
627 查看
python 安装pandas 出现InsecurePlatformWarning: A true SSLContext object is not available.
操作系统:ubuntu 14
python 版本:2.7.6
当我安装pandaspip install pandas出现如下错误
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
按照http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package?lq=1 ,
#第一招就是直接升级python版本到2.7.9+即可解决问题 ##如果不想升级系统python版本 sudo apt-get install python-dev sudo apt-get install libffi-dev sudo apt-get install libssl-dev pip install --upgrade ndg-httpsclient
后期再安装pandas 还是失败
使用apt-get 方式安装
sudo apt-get install python-pandas
成功!
相关文章推荐
- Objective-c语言_复合
- 显示所有数据库 mysql_fetch_object()
- Objective-c语言_对可变数组NSMutableArray
- Objective-c语言_对不可变数组NSArray
- java泛型与object的比较
- difference between string literal and string object
- Swift学习: 从Objective-C到Swift
- objective-C 数组二 "可变数组"
- Objective-C语言——NSMutableArray可变数组
- Objective-C语言——NSAarray不可变数组
- postgresql报错Error while loading shared libraries: libpq.so.5: cannot open shared object file
- 单 例(Singleton)
- Xcode升级到7系列后 缺少 *.dylib库的解决方法
- FileReader createObjectURL
- [转]PDF预览插件PDFObject.js
- error while loading shared libraries: libreadline.so.5: cannot open shared object file
- 在IE中使用ActiveX控件,需要使用HTML中的标志是<OBJECT>,该标记几个重要的参数特性有:
- 【OpenGL】OpenGL帧缓存对象(FBO:Frame Buffer Object) 【转】
- 线程中CreateEvent和SetEvent及WaitForSingleObject的用法
- JSON中JObject和JArray的修改