[firedrake] PyOP2 installation

Lawrence Mitchell lawrence.mitchell at imperial.ac.uk
Sat Feb 1 15:24:43 GMT 2014


> On 1 Feb 2014, at 14:44, "Cotter, Colin J" <colin.cotter at imperial.ac.uk> wrote:
> 
> Dear all,
>   I just installed the forked FFC/UFL/etc. on my laptop using pip install --user. I presume that I need to add these to my pythonpath, what is not clear is which actual directory needs to be added? Is it .local/lib/site-packages?


There should be no need to futz with pythonpath. Pip should have out things where they are already found. To see which ffc is being imported:

import ffc
print ffc.__file__

If you have the correct ffc then

from ffc import constants
print constants.PYOP2_VERSION

should exist and show, I think 0.5.0.

Lawrence
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the firedrake mailing list