$ ls /usr/local/lib/python2.7/site-packages/dolfin
ls: cannot access /usr/local/lib/python2.7/site-packages/dolfin: No such
file or directory
$ ls /usr/local/lib64/python2.7/site-packages/dolfin
common  compilemodules  cpp  deprecation.py  fem  functions  importhandler
__init__.py  mesh  multistage
$ echo $PYTHONPATH
/usr/local/lib64/python2.7/site-packages:/usr/local/lib/python2.7/site-packages:

It perhaps is relevant that the linux installation is 64 bit.



On 13 August 2013 13:30, Johannes Ring <[email protected]> wrote:

> On Tue, Aug 13, 2013 at 9:55 AM, A. Lapraitis <[email protected]> wrote:
> > I have just installed FEniCS manually on Fedora 19. Seemingly, there
> were no
> > errors during the installation process. However, if I try to run any of
> the
> > examples, I run into problems immediately:
> >
> > $ python
> > Python 2.7.5 (default, Jul  8 2013, 09:48:59)
> > [GCC 4.8.1 20130603 (Red Hat 4.8.1-1)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> from dolfin import *
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> >   File "/usr/local/lib64/python2.7/site-packages/dolfin/__init__.py",
> line
> > 16, in <module>
> >     import cpp
> >   File "/usr/local/lib64/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 advise is appreciated.
>
> What is the output of the following commands?
>
>   ls /usr/local/lib/python2.7/site-packages/dolfin
>   ls /usr/local/lib64/python2.7/site-packages/dolfin
>   echo $PYTHONPATH
>
> Johannes
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to