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? cheers --cjc
On 1 Feb 2014, at 14:44, "Cotter, Colin J" <colin.cotter@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
There was, because I already had a root installation of ffc and it was being found before the local ffc. Don't know why. Another numpty question: how do I check out my branch "colins_tests" onto another computer? cheers --cjc ________________________________ From: firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of Lawrence Mitchell [lawrence.mitchell@imperial.ac.uk] Sent: 01 February 2014 15:24 To: firedrake Subject: Re: [firedrake] PyOP2 installation On 1 Feb 2014, at 14:44, "Cotter, Colin J" <colin.cotter@imperial.ac.uk<mailto:colin.cotter@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
On 1 Feb 2014, at 15:35, "Cotter, Colin J" <colin.cotter@imperial.ac.uk> wrote:
Another numpty question: how do I check out my branch "colins_tests" onto another computer?
Clone repository as before. Or, if it's already cloned, just do "git fetch". Then git checkout colins_tests More, possibly overkill and confusing, information at http://git-scm.com/book/en/Git-Branching-Remote-Branches Lawrence (somewhat nervous with the current score)
Got it now, thanks. --cjc p.s. what score? ________________________________________ From: firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of Lawrence Mitchell [lawrence@duffch.at] Sent: 01 February 2014 15:44 To: firedrake Subject: Re: [firedrake] PyOP2 installation
On 1 Feb 2014, at 15:35, "Cotter, Colin J" <colin.cotter@imperial.ac.uk> wrote:
Another numpty question: how do I check out my branch "colins_tests" onto another computer?
Clone repository as before. Or, if it's already cloned, just do "git fetch". Then git checkout colins_tests More, possibly overkill and confusing, information at http://git-scm.com/book/en/Git-Branching-Remote-Branches Lawrence (somewhat nervous with the current score) _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (3)
- 
                
                Cotter, Colin J
- 
                
                Lawrence Mitchell
- 
                
                Lawrence Mitchell