OK. How have you installed coffee (did you do pip install..?) ? Can you check your PYTHONPATH? If you do: python import coffee import coffee.base import coffee.ast_base Could you tell me the error messages you see? Thanks! -- Fabio 2014-12-06 11:17 GMT+00:00 Cotter, Colin J <colin.cotter@imperial.ac.uk>:
Hi Fabio, Thanks for your reply! I did this, but I'm still getting the same message.
all the best --cjc ------------------------------ *From:* firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of Fabio Luporini [f.luporini12@imperial.ac.uk] *Sent:* 06 December 2014 11:12
*To:* firedrake *Subject:* Re: [firedrake] borked my update
Hi Colin,
Just get rid of the .pyc files in pyop2/coffee (you can delete the folder)
-- Fabio
2014-12-06 11:07 GMT+00:00 Cotter, Colin J <colin.cotter@imperial.ac.uk>:
Oh, but I still get this message.
--cjc ------------------------------ *From:* firedrake-bounces@imperial.ac.uk [ firedrake-bounces@imperial.ac.uk] on behalf of Cotter, Colin J [ colin.cotter@imperial.ac.uk] *Sent:* 06 December 2014 11:02 *To:* firedrake *Subject:* Re: [firedrake] borked my update
Oh I see, COFFEE is now an independent package.
--cjc ------------------------------ *From:* firedrake-bounces@imperial.ac.uk [ firedrake-bounces@imperial.ac.uk] on behalf of Cotter, Colin J [ colin.cotter@imperial.ac.uk] *Sent:* 06 December 2014 11:01 *To:* firedrake *Subject:* [firedrake] borked my update
Dear all, I updated PyOP2, and now get:
/home/cjc1/firedrake/PyOP2/pyop2/__init__.py in <module>() 7 """ 8 ----> 9 from op2 import * 10 from version import __version__ as ver, __version_info__ # noqa: just expose 11
/home/cjc1/firedrake/PyOP2/pyop2/op2.pyc in <module>() 37 38 import backends ---> 39 import base 40 from base import READ, WRITE, RW, INC, MIN, MAX, i 41 from base import ON_BOTTOM, ON_TOP, ON_INTERIOR_FACETS, ALL
/home/cjc1/firedrake/PyOP2/pyop2/base.py in <module>() 55 from version import __version__ as version 56 ---> 57 from coffee.base import Node 58 from coffee import base as ast 59
ImportError: No module named base
What went wrong?
all the best --cjc