python怎么安装数据分析_Python数据分析之Pandas安装说明

本文详细介绍了Python数据分析库Pandas的安装过程,包括解决常见的安装错误,如'vcvarsall.bat'找不到和'DLL load failed'的问题。推荐使用binary文件安装,并提供了解决 Mingw32 编译器问题的步骤。
摘要由CSDN通过智能技术生成

Python数据分析之Pandas安装说明,其实最好是用binary文件安装,例如pandas-0.9.1.win32-py2.7.exe,则不会出现下面问题。

b7371a1041f4532127edbf3f1bfec6d8.png

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

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'”,解决方法:

再次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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值