用cgal编译python dolfin

时间:2014-11-11 09:47:46

标签: python compilation cgal

我想安装fenics并使用建议的命令

sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt-get update
sudo apt-get install fenics
sudo apt-get dist-upgrade 

在安装过程中我收到错误:

Processing triggers for python-support (1.0.15) ...
/usr/lib/pymodules/python2.7/scitools/pyreport/main.py:268: SyntaxWarning: import * 
only allowed at module level
  def __call__(self, name, globals=None, locals=None, fromlist=None,
/usr/lib/pymodules/python2.7/scitools/pyreport/main.py:285: SyntaxWarning: import * 
only allowed at module level
  def __call__(self, name, globals=None, locals=None,

在python shell中执行以下命令时:

from dolfin import*
has_cgal()

我得到了

False

我想我必须与Dolfin一起编译CGAL但是怎么样? 有什么想法吗?

0 个答案:

没有答案