pip安装scipy.0.18出现的问题
来源:互联网 发布:sqlserver误删数据恢复 编辑:程序博客网 时间:2024/04/30 14:25
pip安装scipy.0.18出现的问题
本文解决两个问题:
安装pip8.1.1后无法升级至9.0.1和scipy.0.18.whl is not a supported wheel on this platform
使用pip安装下载好的scipy.0.18.whl
pip install scipy.0.18.whl
报错:
scipy.0.18.whl is not a supported wheel on this platform
我以为是pip的不兼容,于是升级了pip
sudo pip install –upgrade
升级失败
于是手动下载了pip-9.0.1.tar.gz
tar -zxvf pip-9.0.1.tar.gz
cd pip-9.0.1
sudo python setup.py install
sudo pip install scipy.0.18.whl
报错:
The directory '/home/x/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.The directory '/home/x/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.scipy-0.18.1-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform./usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning
问题没有解决,而且还因为升级了pip9.0.1出现了新的问题
针对pip安装出现
The directory '/home/x/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
网上的解决办法是
sudo -H pip install…
这个时候查看pip版本还是8.1.1,在/home/mt/anaconda2/bin目录下,有个easy_install-2.7,输入命令easy_install-2.7 pip==9.0.1,成功将版本变为了9.0.1
由于我的python是用Anaconda安装的,所以直接使用conda升级scipy是最简单最有效的办法
conda update scipy
等到升级完就成功安装了scipy.0.18
1 0
- pip安装scipy.0.18出现的问题
- ubuntu 安装scipy出现的问题
- pip安装scipy包的方法
- PIP安装Python的scipy,scrapy等包出现“failed building wheel for xxx”问题解决办法
- PIP安装Python的scipy,scrapy等包出现“failed building wheel for xxx”问题解决办法
- 使用pip安装scipy
- 安装pip出现的问题及解决办法
- Python安装Pip出现的问题
- Python安装——64位win10安装pip,numpy,scipy遇到的问题和解决方案
- ubuntu安装scipy出现的问题:no lapack/blas resources
- 64位win8安装pip,numpy,scipy遇到的问题和解决方案
- 在windows下python,pip,numpy,scipy,matplotlib的安装
- 在windows下python,pip,numpy,scipy,matplotlib的安装
- 安装pip,numpy,scipy,pandas,scikit-learn包的步骤
- 安装scipy遇到的问题
- 问题--pip安装软件出现下面的报错
- Windows下用PIP安装scipy出现 no lapack/blas resources found
- Windows下用PIP安装scipy出现no lapack/blas resources found
- 计算机基础
- 使用Visual Studio 2017作为Linux C++开发工具
- windows安装storm
- .9.png图片制作
- 微信群控那个好用
- pip安装scipy.0.18出现的问题
- try, excep, else, python关键词
- 利用朴素贝叶斯算法进行分类的原理
- 设计模式C++实现(6)——建造者模式
- Y2K Accounting Bug
- 练习系统 实验三 最小数(删数)
- 536. Construct Binary Tree from String
- 代码维护以及修改
- IP分类