python安装pandas库cmd_python数据分析之pandas安装

(其实最好是用binary文件安装,例如pandas-0.9.1.win32-py2.7.exe,则不会出现下面问题)

1,下载,cmd命令行进入下载解压目录,python setup.py install安装

https://pypi.python.org/pypi/pandas/0.16.2

2,出现错误“Unable to find vcvarsall.bat”,解决方法:

http://blog.eddsn.com/2010/05/unable-to-find-vcvarsall-bat/

仍旧cmd进入pandas解压目录,​setup.py install build

--compiler=mingw32安装

3,出现错误“unrecognized command

line option '-mno-cygwin'”,解决方法:

​​​http://stackoverflow.com/questions/6034390/compiling-with-cython-and-mingw-produces-gcc-error-unrecognized-command-line-o

再次​setup.py install build

--compiler=mingw32安装成功

4,eclipse运行出现错误

ImportError: C extension: DLL load failed: 指定されたモジュールが見つかりません。

not built. If you want to import pandas from the source directory,

you may need to run 'python setup.py build_ext --inplace' to build

the C extensions first.​

cmd进入pandas解压目录运行​python

setup.py build_ext --inplace依旧出现错误“Unable to find

vcvarsall.bat”,加编译器参数--compiler=mingw32:

python setup.py build_ext

--inplace​

--compiler=mingw32

待观察。。

运行程序出现

This application has requested the Runtime to terminate it in an

unusual way.

Please contact the application's support team for more

information.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值