On 15 April 2011 18:44, Garth N. Wells <[email protected]> wrote: > I get the error: > > File > "/home/garth/code/fenics/dolfin.d/dolfin-all/local/lib/python2.7/site-packages/dolfin/function/ufc_functionspace.py", > line 1, in <module> > import cpp > ImportError: No module named cpp
I fixed this, we should always use absolute package paths when importing modules: http://www.python.org/dev/peps/pep-0008/ Kristian > Garth > > > On 15/04/11 17:20, [email protected] wrote: >> ------------------------------------------------------------ >> revno: 248 >> committer: Kristian B. Ølgaard <[email protected]> >> branch nick: 1.0 >> timestamp: Fri 2011-04-15 18:15:43 +0200 >> message: >> Fix Bug #761516. (python/index.rst incomplete) >> modified: >> source/doc/dolfin/programmers-reference/python/index.rst >> utils/generate_dolfin_python_doc.py >> >> >> -- >> lp:~fenics-core/fenics-doc/1.0 >> https://code.launchpad.net/~fenics-core/fenics-doc/1.0 >> >> You are subscribed to branch lp:~fenics-core/fenics-doc/1.0. >> To unsubscribe from this branch go to >> https://code.launchpad.net/~fenics-core/fenics-doc/1.0/+edit-subscription > > > _______________________________________________ > Mailing list: https://launchpad.net/~fenics > Post to : [email protected] > Unsubscribe : https://launchpad.net/~fenics > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~fenics Post to : [email protected] Unsubscribe : https://launchpad.net/~fenics More help : https://help.launchpad.net/ListHelp

