ImportError: No module named cpp

Issue #24 invalid
Emo Nemo created an issue

I just recently upgraded my ubuntu from 12.04 to 13.04. Now running FEniCS code generates the following error :

ImportError: No module named cpp

Here is a run example in ipython :

In [1]: from dolfin import *


ImportError
Traceback (most recent call last) <ipython-input-1-f9fe29351801> in <module>()

----> 1 from dolfin import *

/usr/lib/python2.7/dist-packages/dolfin/init.pyc in <module>()

21

22 # Import names from the compiled cpp module

---> 23 from dolfin.cppimports import *

24 from dolfin.cppimports import version, swigversion

25

/usr/lib/python2.7/dist-packages/dolfin/cppimports.py in <module>()

2

3 #--- Imports the SWIG-generated Python code (C++ interface) ---

----> 4 import dolfin.cpp as cpp

5 swigversion = cpp.swigversion

6 version = cpp.dolfinversion

ImportError: No module named cpp


Any suggestions what I can do fix this ? I tried for example :

sudo apt-get install build-essential

Reading package lists... Done

Building dependency tree

Reading state information... Done

build-essential is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Comments (6)

  1. Emo Nemo reporter

    Is support up yet ? I have posted there, but there seems to be no activity. I mean as in I am the only one there.

  2. Log in to comment