These are chat archives for menpo/menpo

7th
Sep 2014
Epameinondas Antonakos
@nontas
Sep 07 2014 13:52
Obtaining file:///home/nontas/Documents/Research/menpo
  Running setup.py egg_info for package from file:///home/nontas/Documents/Research/menpo
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/nontas/Documents/Research/menpo/setup.py", line 23, in <module>
        cython_exts = cythonize(cython_modules, quiet=True)
      File "/usr/lib/pymodules/python2.7/Cython/Build/Dependencies.py", line 468, in cythonize
        aliases=aliases)
      File "/usr/lib/pymodules/python2.7/Cython/Build/Dependencies.py", line 452, in create_extension_list
        **kwds))
    TypeError: Extension constructor got multiple values for keyword argument 'sources'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/nontas/Documents/Research/menpo/setup.py", line 23, in <module>

    cython_exts = cythonize(cython_modules, quiet=True)

  File "/usr/lib/pymodules/python2.7/Cython/Build/Dependencies.py", line 468, in cythonize

    aliases=aliases)

  File "/usr/lib/pymodules/python2.7/Cython/Build/Dependencies.py", line 452, in create_extension_list

    **kwds))

TypeError: Extension constructor got multiple values for keyword argument 'sources'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/nontas/Documents/Research/menpo
Storing complete log in /home/nontas/.pip/pip.log
James Booth
@jabooth
Sep 07 2014 13:53
/usr/lib/pymodules/python2.7/Cython/Build/Dependencies.py
means you aren't in conda
run which pip
Epameinondas Antonakos
@nontas
Sep 07 2014 13:54
/home/nontas/miniconda/envs/menpo/bin/pip
James Booth
@jabooth
Sep 07 2014 13:54
ok, looks good
and you ran conda create -n menpo python
to create an env right?
Epameinondas Antonakos
@nontas
Sep 07 2014 13:54
yup
I am actually in the conda env cause it appearse in front of the command line
James Booth
@jabooth
Sep 07 2014 13:56
and the installation command you ran?
pip install... can you paste it here?
Epameinondas Antonakos
@nontas
Sep 07 2014 13:56
pip install --no-deps -e ./menpo
James Booth
@jabooth
Sep 07 2014 14:02
run ipython
import cython
cython.__file__
check where that is?
Epameinondas Antonakos
@nontas
Sep 07 2014 14:03
'/home/nontas/miniconda/envs/menpo/lib/python2.7/site-packages/cython.pyc'
James Booth
@jabooth
Sep 07 2014 14:08
try just opening a fresh terminal
then
source activate menpo
and try the pip install again?
Epameinondas Antonakos
@nontas
Sep 07 2014 14:10
ok it worked!!
hahaha
James Booth
@jabooth
Sep 07 2014 14:10
ha!
Epameinondas Antonakos
@nontas
Sep 07 2014 14:11
thanks for the help buddy!
James Booth
@jabooth
Sep 07 2014 14:11
yeah I've had it where pip is not updated to point to the conda command immediately after install
so you have to reload the conda env to get it to take
Epameinondas Antonakos
@nontas
Sep 07 2014 14:11
I see
James Booth
@jabooth
Sep 07 2014 14:11
but with us doing which pip and getting the right answer I was convinced it couldn't be that haha
Epameinondas Antonakos
@nontas
Sep 07 2014 14:11
haha
actually it's always the old classic engineering solution to all problems: Restart!
hahaha
James Booth
@jabooth
Sep 07 2014 14:14
ha exactly mate! :clap: