在Linux上安装pymc时出错

时间:2014-02-13 13:52:41

标签: linux python-2.7 pymc

当我尝试使用pymc

安装easy_install pymc

我收到以下错误

warning: no files found matching 'README.txt'
warning: no files found matching 'INSTALL.txt'
warning: no files found matching 'docs/UserGuide.pdf'
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
don't know how to compile Fortran code on platform 'posix'
warning: build_ext: f77_compiler=None is not available.

我正在使用Ubuntu 12.04 我该如何解决这个错误?

1 个答案:

答案 0 :(得分:0)

看起来你需要安装fortran编译器? 你也可以通过“sudo pip install pymc”获得更好的结果