【python】python for data analysis环境安装
2016-04-11 11:30
761 查看
书上说的直接EPDFree,但是得卸载之前的python,所以我就零散安装了。。
环境windows+python2.7
1 安装numpy,scipy,matpoltlib
http://blog.csdn.net/zhangyuehuan/article/details/39134747
2 安装ipython
http://blog.csdn.net/hmy1106/article/details/45151755
pyreadline要在之前安装
easy_install ipython (恩,我还是喜欢用easy_install)这里我用pip依旧有问题。。
安装ipython的依赖 tornado pyzmq
3 ipython.exe notebook 出现:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202004/27/3d7ff60b5930882042e95ea219ac17a4)
出现上述问题,http://stackoverflow.com/questions/31401890/importerror-no-module-named-notebook-notebookapp
于是:easy_install jupyter 。。。。
这时候依旧泵错:error: Could not find suitable distribution for Requirement.parse('entrypoints')
更改命令:pip install jupyter
所以说我这里,pip和easy_install真是神一样的交互
4 ipython notebook成功跑出
5 安装pandas:
http://download.csdn.net/download/piano7heart/5751273
运行 ipython --pylab
![](https://oscdn.geek-share.com/Uploads/Images/Content/202004/27/6e028dec4d54425d5bac4262faae3f30)
![](https://oscdn.geek-share.com/Uploads/Images/Content/202004/27/d4513b412dc58ddf7fc596067c3c67b0)
这里不知道是不是python和ipython的区别,在python下必须要运行[3]的命令,不然会出现错误
运行结果:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202004/27/2bc9761dcb9b0190f703cb2fa36e784f)
环境windows+python2.7
1 安装numpy,scipy,matpoltlib
http://blog.csdn.net/zhangyuehuan/article/details/39134747
2 安装ipython
http://blog.csdn.net/hmy1106/article/details/45151755
pyreadline要在之前安装
easy_install ipython (恩,我还是喜欢用easy_install)这里我用pip依旧有问题。。
安装ipython的依赖 tornado pyzmq
3 ipython.exe notebook 出现:
出现上述问题,http://stackoverflow.com/questions/31401890/importerror-no-module-named-notebook-notebookapp
于是:easy_install jupyter 。。。。
这时候依旧泵错:error: Could not find suitable distribution for Requirement.parse('entrypoints')
更改命令:pip install jupyter
所以说我这里,pip和easy_install真是神一样的交互
4 ipython notebook成功跑出
5 安装pandas:
http://download.csdn.net/download/piano7heart/5751273
运行 ipython --pylab
这里不知道是不是python和ipython的区别,在python下必须要运行[3]的命令,不然会出现错误
运行结果:
相关文章推荐
- Python陷阱:tuple与Nonetype
- python面向对象(二)——类成员
- python学习笔记4(对象/引用;多范式; 上下文管理器)
- UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position xxx ordinal...
- 【教程】七步精通Python机器学习
- cannot import name 'Flask' 的错误
- python-面向对象(一)——开篇基础
- 【转】zhihu图片下载工具
- 求素数 -- Python实现
- python 新手入门学习(一)
- Python3:正则表达式
- Python-OpenCV(6)
- 一道简单的填空题
- Python的递推式构造列表(List comprehension)
- windows下python安装Numpy、Scipy、matplotlib模块
- ubuntu14.04 改变系统默认Python解释器
- python setup.py uninstall
- .pth 文件扩展python环境路径
- 初学python(对比java语言不同) 第五篇
- python监控进程