windows下python2.7版本numpy,Scipy,matplotlib,sklearn安装
系统是windows32位,安装了python2.7.13。
安装顺序就是numpy,Scipy,matplotlib,sklearn。
首先是更新一下pip (确保pip能使用)
然后将setuptools, numpy, python-dateutil, pytz, pyparsing, cycler,matplotlib分别代替最后的pip并运行
PS C:\Users\wenchaoz> python -m pip install --upgrade pip
Collecting pip
Downloading pip-8.1.-py2.py3-none-any.whl (.2MB)
% |████████████████████████████████| .2MB 315kB/s
Installing collected packages: pip
Found existing installation: pip 7.1.
Uninstalling pip-7.1.:
Successfully uninstalled pip-7.1.
Successfully installed pip-8.1. PS C:\Users\wenchaoz> python -m pip install --upgrade numpy
Collecting numpy
Downloading numpy-1.11.-cp27-none-win_amd64.whl (.4MB)
% |████████████████████████████████| .4MB 138kB/s
Installing collected packages: numpy
Found existing installation: numpy 1.9.
DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future
version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling numpy-1.9.:
Successfully uninstalled numpy-1.9.
Successfully installed numpy-1.11. PS C:\Users\wenchaoz> python -m pip install --upgrade pytz
Collecting pytz
Downloading pytz-2016.6.-py2.py3-none-any.whl (481kB)
% |████████████████████████████████| 481kB .2MB/s
Installing collected packages: pytz
Successfully installed pytz-2016.6. PS C:\Users\wenchaoz> python -m pip install --upgrade pyparsing
Collecting pyparsing
Downloading pyparsing-2.1.-py2.py3-none-any.whl (42kB)
% |████████████████████████████████| 51kB 122kB/s
Installing collected packages: pyparsing
Successfully installed pyparsing-2.1. PS C:\Users\wenchaoz> python -m pip install --upgrade cycler
Collecting cycler
Downloading cycler-0.10.-py2.py3-none-any.whl
Requirement already up-to-date: six in c:\python27\lib\site-packages (from cycler)
Installing collected packages: cycler
Successfully installed cycler-0.10. PS C:\Users\wenchaoz> python -m pip install --upgrade matplotlib
Collecting matplotlib
Downloading matplotlib-1.5.-cp27-none-win_amd64.whl (.1MB)
% |████████████████████████████████| .1MB 167kB/s
Requirement already up-to-date: cycler in c:\python27\lib\site-packages (from matplotlib)
Requirement already up-to-date: pytz in c:\python27\lib\site-packages (from matplotlib)
Requirement already up-to-date: pyparsing!=2.0.,>=1.5. in c:\python27\lib\site-packages (from matplotlib)
Requirement already up-to-date: numpy>=1.6 in c:\python27\lib\site-packages (from matplotlib)
Requirement already up-to-date: python-dateutil in c:\python27\lib\site-packages (from matplotlib)
Requirement already up-to-date: six in c:\python27\lib\site-packages (from cycler->matplotlib)
Installing collected packages: matplotlib
Found existing installation: matplotlib 1.5.
Uninstalling matplotlib-1.5.:
Successfully uninstalled matplotlib-1.5.
Successfully installed matplotlib-1.5. PS C:\Users\wenchaoz> python -m pip install --upgrade sklearn
主要参考:
http://www.cnblogs.com/wenchaoz/p/5679364.html
http://matplotlib.org/users/installing.html
以下仅部分有效!
主要需要
这些.exe在https://pan.baidu.com/s/1qXhFNmk#list/path=%2Fnumpy%2Cmatplotlib%2Cscipy
上面的内容可以确保成功安装numpy
参考:http://blog.csdn.net/q__y__l/article/details/50730769
windows下python2.7版本numpy,Scipy,matplotlib,sklearn安装的更多相关文章
- windows下数据挖掘相关包numpy、pandas的安装
安装Anaconda的绕道 这里介绍如何在windows下安装numpy/scipy/matplotlib/pandas/scikit_learn等数据分析相关包 相关环境: win7 64位 pyt ...
- 在windows下python,pip,numpy,scipy,matplotlib的安装
系统:win7(64bit) 如果只需要安装python,执行步骤一就可以了,不用管后面.如果还需要其它的库,则只需要执行第二步,第一步可省略(因为在安装anaconda的时间,python就自动装好 ...
- [转]Windows下Python多版本共存
https://blog.csdn.net/dream_an/article/details/51248736 Windows下Python多版本共存 Python数据科学安装Numby,pandas ...
- Windows下Python多版本共存
Windows下Python多版本共存 Python数据科学安装Numby,pandas,scipy,matpotlib等(IPython安装pandas) 0.0 因为公司项目,需要Python两个 ...
- Linux入门(10)——Ubuntu16.04使用pip3和pip安装numpy,scipy,matplotlib等第三方库
安装Python3第三方库numpy,scipy,matplotlib: sudo apt install python3-pip pip3 install numpy pip3 install sc ...
- Windows下Python2与Python3两个版本共存的方法详解
来源:http://www.jb51.net/article/105311.htm 这篇文章主要介绍了Windows下Python2与Python3两个版本共存的方法,文中介绍的很详细,对大家具有一定 ...
- windows下python2和python3同时安装ipython
1.ipython简介: IPython 是一个 python 的交互式 shell,比默认的python shell 好用得多,支持变量自动补全,自动缩进,支持 bash shell 命令,内置了许 ...
- 在windows下使用Cygwin模拟unix环境,并安装apt-cyg,svn等工具
在windows下使用Cygwin模拟unix环境,并安装apt-cyg,svn等工具 一.Cygwin的安装 1. 下载Cygwin,这个可以到这里下载 ,至于使用32位的还是64位的版本可以根据自 ...
- windows下制作linux U盘启动盘或者安装优盘(转)
windows下制作linux U盘启动盘或者安装优盘(转) Linux发行版排行榜:http://iso.linuxquestions.org/ [方案一]:UltraISO(不推荐,在Window ...
随机推荐
- UnicodeEncodeError:'latin-1' codec can't encode characters in position 0-1: ordinal not in range(256)
Scrapy爬虫向数据库写入数据时报错: UnicodeEncodeError:'latin-1' codec can't encode characters in position 0-1: ord ...
- 常用脚本--生成指定表的INSERT 语句
--================================================= --摘抄自http://www.cnblogs.com/sunth/archive/2013/0 ...
- Solr特性:Schemaless Mode(自动往Schema中添加field)
WiKi:https://cwiki.apache.org/confluence/display/solr/Schemaless+Mode 介绍: Schemaless Mode is a set o ...
- ansible常用ad hoc操作
ansible group001 -i hosts.ip -m shell -a -v
- 比较有用的php代码片段
一 从网页中提取关键词 $meta = get_meta_tags('http://www.emoticode.net/'); $keywords = $meta['keywords']; // Sp ...
- “全栈2019”Java异常第三章:try代码块作用域详解
难度 初级 学习时间 10分钟 适合人群 零基础 开发语言 Java 开发环境 JDK v11 IntelliJ IDEA v2018.3 文章原文链接 "全栈2019"Java异 ...
- jzoj1792
#include<bits/stdc++.h> using namespace std; long long a[100010],m,n; int main(){ scanf(" ...
- 2017.06.04【NOIP提高组】模拟赛B组:
t1 jzoj3762 过河 路径分段,计算出向上移对答案贡献最大的一段路,再使用堆来维护即可 代码: #include<bits/stdc++.h> using namespace st ...
- SpringMvc date数据传递处理
1.form表单提交date数据 form表单提交的date数据要在接收的字段上加入@DateTimeFormat注解 @DateTimeFormat(pattern = "yyyy-MM- ...
- MongoDB健壮集群——用副本集做分片
1. MongoDB分片+副本集 健壮的集群方案 多个配置服务器 多个mongos服务器 每个片都是副本集 正确设置w 架构图 说明: 1. 此实验环境在一台机器上通过不同port和dbp ...