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