On Tue, 16 Dec 2014 11:19:09 +1300
Bart Verleye <[email protected]> wrote:

> 
> 
> On 15/12/14 22:19, Johannes Ring wrote:
> > On Mon, Dec 15, 2014 at 4:51 AM, Bart Verleye
> > <[email protected]> wrote:
> >> Hi,
> >>
> >> I have installed FFC, but when I try to import, I get following
> >> error:
> >>
> >>>>> import ffc
> >> Traceback (most recent call last):
> >>    File "<stdin>", line 1, in <module>
> >>    File "build/bdist.linux-x86_64/egg/ffc/__init__.py", line 21,
> >> in <module> File
> >> "build/bdist.linux-x86_64/egg/ffc/jitcompiler.py", line 33, in
> >> <module> File "build/bdist.linux-x86_64/egg/ufc/__init__.py", line
> >> 7, in <module> ImportError: cannot import name cell
> >>
> >> I get this error both with the 1.4.0 version, as with the version
> >> I cloned from git. The latter should have resolved the issue
> >> according to
> >> http://fenicsproject.org/pipermail/fenics-support/2014-February/000372.html
> >>
> >> Any help/hint on this?
> >
> > Are you sure you are loading the correct ffc and not the old 1.4.0
> > version? How did you install it and did you have you set PYTHONPATH
> > correctly?
> >
> > Johannes
> >
> 
>  >>source virtualPython/bin/activate
>  >>git clone https://bitbucket.org/fenics-project/ffc.git
>  >>cd ffc
>  >>python setup.py install
> 
>  >>python -c"import ufl; print ufl.__version__, ufl.__file__"
> 
> 1.4.0 
> /gpfs1m/projects/uoa00295/virtualPython/lib/python2.7/site-packages/ufl/__init__.pyc
> 
> So it's still version 1.4.0, but from the git. Should I clone a 
> different version?

You need all the FEniCS component (FIAT, UFL, FFC, Instant, DOLFIN) at
version

- either 1.4.0, downloadable as tarball or checkoutable in git
  repository as tag foo-1.4.0
- or up-to-date master branch from respective git repositories

Jan

> 
> Thanks,
> Bart
> 
> 
> 

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to