No module named common

Issue #76 invalid
Johannes Neumann created an issue

Hi,

I compiled with dorsal on a machine, where I had no root access. My config is

#!

once:sqlite
once:libxml2
once:python
once:ply
once:ipython
once:swig
once:cmake
once:bazaar
once:boost
once:pcre
# once:blas
# once:lapack
skip:atlas #allready compiled
once:lapack
once:numpy
once:suitesparsewithmetis_OpenMPI
once:parmetis
once:trilinos
once:petsc
once:petsc4py
once:slepc
once:armadillo
once:scipy
once:cgal
once:scotch
once:gmp
once:mpfr
once:mtl
once:scientificpython
once:fiat
once:ufc
once:ufl
once:ffc
once:instant
once:vtkwithqt
once:viper
dolfin

but then I get the error

#!

#> ~/dorsal_tmp/bin/share/dolfin/demo/pde/poisson/python> python demo_poisson.py
Traceback (most recent call last):
  File "demo_poisson.py", line 37, in <module>
    from dolfin import *
  File "~/dorsal_tmp/bin/lib/python2.7/site-packages/dolfin/__init__.py", line 16, in <module>
    import cpp
  File "~/dorsal_tmp/bin/lib/python2.7/site-packages/dolfin/cpp/__init__.py", line 40, in <module>
    exec("import %s" % module_name)
  File "<string>", line 1, in <module>
ImportError: No module named common

Any Idea? The libdolfin.so exists in the path as well as the common site-package.

Thanks!

Comments (3)

  1. Log in to comment