windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)

Anaconda(python3.6)安装gensim, tensorflow Anaconda(python3.6)安装gensim, tensorflow。 阅读详情

用python将近一年了,一直用的是python3.4,最近想把自己的python环境升级到最新的python3.6

操作系统windows8.1 64位

1、到官网下载相应安装包,直接点击安装



注意勾选相应选项,如果没有勾选需要自己安装造成不便


安装结束点击完成即可

我在官网下载的是32位版本python,注意在以后安装各种安装包时一定要注意与之匹配否则会报错

它会自动将python加入环境变量,安装完成后再命令行中输入python验证是否安装成功。

2、安装numpy

通过pip install numpy可直接安装numpy


3、安装scipy

通过pip install scipy安装,报错

到官网查看之后发现windows上不能直接通过pip安装scipy

到http://www.lfd.uci.edu/~gohlke/pythonlibs/下载相应的安装文件


注意我选择的版本是32位的,与我的python匹配

然后安装这个.whl


注意输入绝对路径

安装成功后测试scipy


在调用scipy时出错,信息如上。原因是scipy依赖numpy和MKL ,通过pip安装的numpy缺少MKL

所以卸载掉numpy和scipy


还到上面的网址下载相应版本numpy


重新安装numpy,注意我的是32位版本的


然后再安装scipy,测试后发现安装成功

4、安装scikit-learn

到上面网址下载相应版本scikit-learn,同样方法安装


5、安装matplotlib

直接使用pip install matplotlib命令安装

6、安装ipython

直接通过pip install ipython命令安装

python安装库的方法 python安装库的方法 实例:numpy 实验环境:win10 python版本:3.9 联网下载库 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy d:\python file\python.exe -m pip install --upgrade pip 更新版本 安装完成 检测,成功即安装完成 安装SciPy (均使用清华园路径) pip install -i https://pypi.tuna.tsinghua 阅读详情

相关推荐

Python扫盲

1,Python不需要预先定义变量,随用随定义 2,python3.6和python3.6m的区别: 初始安装的Linux Ubuntu18.04系统的/usr/bin/下面有四个文件:python3 python3.6 python3.6m python3m 其中 python3.6 python3.6m为可执行文件,python3、python3m分别为指向这两个文件的链接文件 ...

Hello Word! 4601

安装python 3.6m

https://blog.csdn.net/saibeifeng187/article/details/107212473/?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-8&spm=1001.2101.3001.4242

qq_23114283的博客 2911

安装numpy+scipy+matplotlib+scikit-learn文件

Python安装Numpy、Scipy、Matlotlib、Scikit-learn等库的过程及遇到的问题解决方法,其中主要是版本问题。 安装过程参考教程:http://blog.csdn.net/eastmount/article/details/50347383 [python] 安装numpy+scipy+matlotlib+scikit-learn及问题解决 如果遇到错误:ImportError: DLL load failed: 找不到指定的模块 Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat 需要通过pip uninstall卸载,再去到python的Scripts文件夹下安装whl文件,其中均为64位操作系统。 希望资源对你有所帮助!同时推荐Anaconda套包~

numpy1.19.5对应其他pkg版本

请注意,这些版本可能不是唯一的兼容版本,也可能存在其他的依赖关系。您可以使用conda或pip来安装或更新这些包,并指定您需要的版本。

qq_43340256的博客 1万+

虚拟机扩容——非LVM分区

虚拟机扩容——非LVM分区

ytraister的博客 3905

基于R语言的现代贝叶斯统计学方法(贝叶斯参数估计、贝叶斯回归、贝叶斯计算)实践

贝叶斯统计学是一门基本思想与传统基于频率思想的统计学完全不同的统计学方法;它以其灵活性和先进性在现代的统计学中占据着重要的地位。贝叶斯统计学是开展科学研究不可缺少的重要手段,但是,因为其思想、技术和方法都与传统统计学有着较大区别;且其计算中涉及马尔科夫、蒙特卡罗和吉布斯采样等现代计算方法,对使用者经验和能力构成了很大的挑战。

AAIshangyanxiu的博客 679

windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)

windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn) 操作系统windows8.1 64位 1、到官网下载相应安装包,直接点击安装 注意勾选相应选项,如果没有勾选需要自己安装造成不便 安装结束点击完成即可 我在官网下载的是32位版本python,注意在

超凡三眼仔的专栏 519

数据字典实战:如何用Excel快速搭建你的第一个数据字典(附模板下载)

本文针对中小团队在软件开发中面临的术语不一致问题,提供了一套使用Excel快速搭建数据字典的实战指南。文章详细讲解了核心字段设计、填充示例、高阶技巧及团队协作维护流程,旨在通过这一轻量级工具统一团队共识、提升开发效率,并附有实用模板下载。

weixin_29303701的博客 380

python3.6 matplotlib依赖库下载_(转)windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)...

转自:https://blog.csdn.net/Dillon2015/article/details/54834741用python将近一年了,一直用的是python3.4,最近想把自己的python环境升级到最新的python3.6操作系统windows8.1 64位1、到官网下载相应安装包,直接点击安装注意勾选相应选项,如果没有勾选需要自己安装造成不便安装结束点击完成即可我在官网下载的是32...

weixin_39902184的博客 360

在WinXP操作系统上安装Tornado2.2详细教程

使用VxWorks的人都想在自己的电脑中装VxWorks的编译器Tornado,然而Win10操作系统对于Tornado并不友好,根本装不成功。而对于Win7操作系统,之前在实验室一台Win7上装Tornado成功过,并且一直在上面进行vx开发,但是过一段时间在其他Win7上装Tornado时又不能成功,由此说明Tornado对于Win7操作系统对Tornado的兼容也不是很好,所以想要长久使用T...

weixin_43822311的博客 4481

决策树简介/PPT

最近给我们组新生讲了决策树的相关知识,以下是所做的PPT,参考了网络资源。

垃圾就应该待在垃圾桶里的博客 3795

一个教程搞定!Python安装Numpy、scipy、pandas、matplotlib、ipython、scikit-learn库 便捷数据分析

环境:win7、python3.7 64位版本 安装Numpy+MKL 安装这个要对应已安装好的python版本 首先查看自己的Python版本 命令窗口下输入python查看 我的版本是python 3.7.0 64位 进入Numpy+Mkl下载链接 https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy 选择自己对应的版本进行下载 cp38对应p...

xuan196的博客 2万+

SAP CKMLCP 月结7大常见报错:从“未找到成本核算运行”到“物料占用”的完整解决方案

本文深入解析SAP CKMLCP月结过程中的7大常见报错,从权限问题到数据一致性错误,提供系统化的解决方案。重点解决'未找到成本核算运行'和'物料占用'等典型问题,帮助财务人员高效完成成本核算月结,确保数据准确性。

weixin_30299709的博客 415

python3.6对应的numpy_python3.6中安装numpy,pandas,scipy,scikit_learn,matplotlib等数据分析工具...

运行环境:python3.6+windows64位1.安装pip(1)如果在安装python3.6时,你有勾选关于pip的选项,那么在python3,6中就会带有pip的安装文件安装方法:主要下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/按如下步骤进行安装:使用命令提示符(cmd),最好以管理员的身份运行。在cmd中执行cd命令到python安装目录...

weixin_39763033的博客 6037

Altium Designer(AD)PCB拼版——两种方法教程

本文详细介绍了PCB拼版的设计要点与操作方法。主要内容包括:拼版目的(解决小尺寸夹持问题、提高利用率、降低成本)和三大连接方式(V-CUT、邮票孔、空心连接条)的特点与参数设置;工艺边设计规范(宽度、定位孔、Mark点等要求);拼版尺寸限制与常见错误检查;以及两种具体拼版操作方法(特殊粘贴和拼版阵列),并附有工艺边、定位孔、Mark点的绘制步骤示意图。同时提供了硬件工程师笔试面试相关资源链接。全文系统阐述了PCB拼版的核心技术和操作流程,为电子设计人员提供了实用指导。

XU157303764的博客 7599

基于STM32的嵌入式平台实现EtherCAT主站

本文将介绍如何在基于STM32的嵌入式平台上构建EtherCAT主站,并提供相应的源代码。使用SOEM库提供的API函数,我们可以实现与EtherCAT从站设备的实时通信和数据交换。在STM32的代码中,使用SOEM库提供的API函数初始化EtherCAT主站。在SOEM库中,我们可以找到EtherCAT主站的实现代码和相关的API函数。使用SOEM库提供的API函数实现EtherCAT主站的功能,包括发送和接收EtherCAT数据帧、处理从站设备的状态等。确保连接正常并且设备能够相互通信。

CodeSageX的博客 2832

Win10中Python3下安装NumPy+Scipy+Matplotlib+pandas+scikit-learn

Win10中Python3下安装NumPy+Scipy+Matplotlib+pandas+scikit-learn 1 安装前准备 更换pip源到国内镜像 https://blog.csdn.net/gezhuanxian2298/article/details/88903738 使用管理员身份打开cmd,更新pip 然后,使用cd命令转到python安装位置的文件夹Scripts下(找到你的p...

吃面不要辣 1271

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

安装Jupyter Lab,Windows 11的64位版本系统

在Windows11安装JupyterLab

Sputnik520的专栏 1941

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

IDEA的使用指南

IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

python3.7.2安装numpy_win10 + Python3.7 + Eclipse 安装numpy, scipy, matplotlib, pandas, GDAL, ospybook, p...

环境:win10 + Python3.7 + Eclipse IDE + PyDev注:* :这几个文件下载地址为:https://www.lfd.uci.edu/~gohlke/pythonlibs/ 根据自己Python的版本下载(以Python3.7为例)以管理员省份运行cmd1. 更新或安装pip:python -m pip install --upgrade pip(保证环境变量:将Pt...

weixin_39825854的博客 248

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain&#39;s apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath(&#39;DeepLearnToolbox&#39;));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand(&#39;state&#39;,0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W&#39;); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand(&#39;state&#39;,0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = &#39;sigm&#39;;%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, &#39;Too big error&#39;);```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand(&#39;state&#39;,0)sae = saesetup([784 100]);sae.ae{1}.activation_function = &#39;sigm&#39;;sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)&#39;)% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;;nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, &#39;Too big error&#39;);```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x&#39;,28,28,60000))/255;test_x = double(reshape(test_x&#39;,28,28,10000))/255;train_y = double(train_y&#39;);test_y = double(test_y&#39;);%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you&#39;ll get around 1.2% errorrand(&#39;state&#39;,0)cnn.layers = { struct(&#39;type&#39;, &#39;i&#39;) %input layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 6, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %sub sampling layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 12, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, &#39;Too big error&#39;);```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, &#39;Too big error&#39;);%% ex2 neural net with L2 weight decayrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex3 neural net with dropoutrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex4 neural net with sigmoid activation functionrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex5 plotting functionalityrand(&#39;state&#39;,0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = &#39;softmax&#39;; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand(&#39;state&#39;,0)nn = nnsetup([784 20 10]); nn.output = &#39;softmax&#39;; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

python常用包安装

环境:win10 + Python3.7 +  PyDev 注:* :这几个文件下载地址为:https://www.lfd.uci.edu/~gohlke/pythonlibs/ 根据自己Python 的版本下载(以Python3.7为例) 以管理员省份运行cmd  1. 更新或安装pip:    python -m pip install --upgrade pip     (保证环境...

不平凡之路 3332

python数据分析文档下载_Pandas数据分析python环境说明文档

1. 要求windows系统2. pycharm编程环境并要求配置好python3.x环境pycharm可在官网下载,下面是链接。3. 要求在windows下python环境有以下库,可按先后顺序下载:以下命令可以在cmd中编写,进行下载库,其他方式均可。Python 3.4 及后续版本已经默认安装了pip(1) numpy 科学计算库 pip3 install numpy(2) Scipy...

weixin_39793098的博客 87

pip 安装 sklearn 教程

题外话:pip安装模块,一波三折,查了好多资料,给大家分享一下。如有不对,敬请谅解,谢谢! 要想使用sklearn、pandas等模块,作数据分析,可直接下载Anaconda,具体怎么做,网上有很多。如果你偏不,接着往下看: 第一步:下载python----本人下载的是python3.5,电脑操作系统为Win10,64位。具体怎么下载,安装,网上很多资料,不在 说了(注意环境变量设置好)。 第二步:下载完成后,更新pip。(不过我装numpy的时候,就没更新,...

lizz2276的博客 1万+

windows下数据挖掘相关包numpy、pandas的安装

安装Anaconda的绕道 这里介绍如何在windows下安装numpy/scipy/matplotlib/pandas/scikit_learn等数据分析相关包 相关环境: win7 64位 python3.4 安装步骤: 1、pip install numpy-1.13.1+mkl-cp34-cp34m-win_amd64.whl2、pip install scipy-0.19.1...

weixin_30575309的博客 580
上一篇: sklearn模型持久化
下一篇: python3.x安装ipython notebook
Dillon2015
博客等级 码龄11年 1072粉丝 274原创
评论 9
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值