On Saturday, December 20, 2014, Rathgeber, Florian <florian.rathgeber@imperial.ac.uk> wrote:
> I hope this is not a silly question, but in which directory I am supposed be in when I write “ sudo python setup.py install“ during the COFFEE installation?
That should not matter. The only instance where it could matter is if
you're on a file system where the local superuser has no write
permission (which is often the case for NFS mounted file systems).
I beg to differ. The command as typed will only work from the COFFEE source directory
HTH,
Florian
> Thanks,
>
> Anna.
>
>
>
> On 19 Dec 2014, at 10:36, Fabio Luporini <fabilupo@gmail.com<mailto:fabilupo@gmail.com>> wrote:
>
> Some modules are still looking for ast_base which in the new version of COFFEE has a different name. This may be due to some packages that still need be updated. Could be ffc, pyop2, or firedrake; are you sure you've updated and reinstalled all of these packages?
>
> If you run python and try : from coffee import base, what does it say?
>
> Thanks
>
> -- Fabio
>
> Sent from my iPhone
>
> On 19/dic/2014, at 10:20, Anna Kalogirou <A.Kalogirou@leeds.ac.uk<mailto:A.Kalogirou@leeds.ac.uk>> wrote:
>
> I already installed COFFEE and updated PyOP2, so now there are no COFFEE leftovers in the PyOP2/pyop2 directory...
>
>
> On 19 Dec 2014, at 10:16, David Ham <David.Ham@imperial.ac.uk<mailto:David.Ham@imperial.ac.uk><mailto:David.Ham@imperial.ac.uk>> wrote:
>
> Dear Anna,
>
> My first guess is that you are seeing exactly the same error as Colin so the same solution should apply.
>
> Basically, COFFEE is now a separate package. This means you need to install the COFFEE package and remove any left over COFFEE files from your PyOP2 repository.
>
> You can install COFFEE with:
>
> sudo pip install git+https://github.com/coneoproject/COFFEE.git
>
> and you can remove any leftovers by typing the following in the PyOP2/pyop2 directory:
>
> rm -r coffee
>
> Regards,
>
> David
>
>
> On 19 December 2014 at 10:09, Anna Kalogirou <A.Kalogirou@leeds.ac.uk<mailto:A.Kalogirou@leeds.ac.uk><mailto:A.Kalogirou@leeds.ac.uk>> wrote:
> Hi all,
>
> I just tried to update firedrake on my laptop (including the coffee installation), and get similar errors as Colin did a few weeks ago. It seems that there is no module named coffee.ast_base. Colin, how did you fix the problem after all?
>
> Thank you.
>
> Best,
>
> Anna.
--