These are chat archives for menpo/menpo

31st
May 2014
James Booth
@jabooth
May 31 2014 12:53
Hey Nicolas, let me know when you get here
Nicolas DUBIEN
@dubzzz
May 31 2014 12:55
hello, i'm here
James Booth
@jabooth
May 31 2014 12:55
hey
so first off, did you install through condo?
conda*
If not, follow the instructions at http://www.menpo.io/installation/
Nicolas DUBIEN
@dubzzz
May 31 2014 12:56
I'm working on the machine called graphic01 of the Imperial College. I don't know if it is already installed
James Booth
@jabooth
May 31 2014 12:56
ok, it won't have it installed.
Nicolas DUBIEN
@dubzzz
May 31 2014 12:57
ok
James Booth
@jabooth
May 31 2014 12:57
but you will have to change the install location (it will want to put it at ~/miniconda, which is tiny and network mounted)
do you have access to a larger disk to install to?
Patrick Snape
@patricksnape
May 31 2014 12:59
He could install it on a personal folder on atlas?
Nicolas DUBIEN
@dubzzz
May 31 2014 13:02
I don't think that I have access to larger disk with write access
Patrick Snape
@patricksnape
May 31 2014 13:02
everyone has write access on atlas I think
/vol/atlas/msc_work
should be 777
make yourself a folder in there
Nicolas DUBIEN
@dubzzz
May 31 2014 13:04
thanks I created my own directory on atlas
I will try to install conda on it
Patrick Snape
@patricksnape
May 31 2014 13:05
cool
James Booth
@jabooth
May 31 2014 13:16
great
Nicolas DUBIEN
@dubzzz
May 31 2014 13:19
Ok, it removes the error "ImportError: No module named menpo" when generating the documentation. I will have to sphinx with pip and it should work
James Booth
@jabooth
May 31 2014 13:19
wait one sec
in the conda env you should conda install pip
Nicolas DUBIEN
@dubzzz
May 31 2014 13:20
ok
James Booth
@jabooth
May 31 2014 13:20
that will give you a pip that plays well with conda
in general, with conda you should try conda install foo before pip install foo
Nicolas DUBIEN
@dubzzz
May 31 2014 13:22
ok thanks a lot, it was my next question
James Booth
@jabooth
May 31 2014 13:22
if foo has any nasty dependencies (and if someone has been kind enough to make a conda package) everything will just work for you
if it’s pure python then there is little need for a conda package
Nicolas DUBIEN
@dubzzz
May 31 2014 13:26
I still have a problem to install sphinx_rtd_theme. 'conda install sphinx_rtd_theme' fails: No packages found matching
James Booth
@jabooth
May 31 2014 13:27
ok, installing the necessary things for building the docs is an extra step, you sure you need to? You know the latest master docs are hosted here right? http://menpo.readthedocs.org/en/latest/
(I think you need to pip install sphinx_rtd_theme, there is no conda package for it which is fine as it’s pure python)
Nicolas DUBIEN
@dubzzz
May 31 2014 13:29
ok. Thanks
James Booth
@jabooth
May 31 2014 13:30
the last thing you need to know is how to set up a development copy of menpo on top of the conda installed one
this is straightforward
# run this while the conda env you made for
# menpo is active
> cd place/I/want/to/develop/in
> git clone git@github.com:username/menpo.git
# or use http variant, whatever you prefer
> pip install —no-deps -e ./menpo
note that we tell pip to not try and resole the deps for the git version of menpo as we know they are satisfied by our conda install
James Booth
@jabooth
May 31 2014 13:35
also note that you can clone down the repo to wherever you want. The folder will be symlinked into the site-packages folder of the current python interpreter, so just make sure you have the right env activated
after this edits to ./menpo will effect any python process running in this environment