Re: [firedrake] borked my update
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 <javascript:;><mailto:fabilupo@gmail.com <javascript:;>>> 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 <javascript:;><mailto:A.Kalogirou@leeds.ac.uk <javascript:;>>> 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 <javascript:;><mailto:David.Ham@imperial.ac.uk <javascript:;>><mailto: David.Ham@imperial.ac.uk <javascript:;>>> 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 <javascript:;><mailto:A.Kalogirou@leeds.ac.uk <javascript:;>><mailto: A.Kalogirou@leeds.ac.uk <javascript:;>>> 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.
-- Dr David Ham Departments of Mathematics and Computing Imperial College London http://www.imperial.ac.uk/people/david.ham
On 20/12/14 09:11, David Ham wrote:
On Saturday, December 20, 2014, Rathgeber, Florian <florian.rathgeber@imperial.ac.uk <mailto: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
Sorry, I misread this as `sudo pip install ...`
HTH, Florian
> Thanks, > > Anna. > > > On 19 Dec 2014, at 10:36, Fabio Luporini <fabilupo@gmail.com <javascript:;><mailto:fabilupo@gmail.com <javascript:;>>> 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 <javascript:;><mailto:A.Kalogirou@leeds.ac.uk <javascript:;>>> 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 <javascript:;><mailto:David.Ham@imperial.ac.uk <javascript:;>><mailto:David.Ham@imperial.ac.uk <javascript:;>>> 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 <javascript:;><mailto:A.Kalogirou@leeds.ac.uk <javascript:;>><mailto:A.Kalogirou@leeds.ac.uk <javascript:;>>> 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.
participants (2)
- 
                
                David Ham
- 
                
                Florian Rathgeber