[scikit-image] Error during env setup

Mark Harfouche mark.harfouche at gmail.com
Tue Aug 28 14:14:03 EDT 2018


Hi Sena,

Please run

pip install requirements-parser
python tools/build_versions.py

Please provide the output of build_versions.py

Can you somehow post the full output of the command?
Maybe to pastebin?

Mark

On Tue, Aug 28, 2018 at 10:54 AM Sena Agezo <senaagezo at gmail.com> wrote:

> Hi Juan,
>
> Yes, I did install Cython first before attempting to “pip install -e .”
>
> -Sena
>
> On Aug 27, 2018, at 8:45 PM, Juan Nunez-Iglesias <jni at fastmail.com> wrote:
>
> Hi Sena, thanks for wanting to contribute!
>
> I believe you need install Cython first, and then it should work. Can you
> give that a try and report back?
>
> Juan.
>
> On Tue, Aug 28, 2018, at 7:31 AM, Sena Agezo wrote:
>
> Hi,
>
> I am trying to make a contribution to the scikit-image documentation. In
> my attempt to setup the environment after creating it, I keep getting an
> error(see below). This error happens when I do "pip install -e ." in the
> cloned scikit-image. I’m doing this on a linux machine.
>
> *error: Command "gcc -pthread -B
> /home/liulab/anaconda3/envs/skimage/compiler_compat -Wl,--sysroot=/
> -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
> -I/tmp/pip-build-env-29p1x6uy/lib/python3.6/site-packages/numpy/core/include
> -I/tmp/pip-build-env-29p1x6uy/lib/python3.6/site-packages/numpy/core/include
> -I/home/liulab/anaconda3/envs/skimage/include/python3.6m
> -I/home/liulab/anaconda3/envs/skimage/include/python3.6m -c _extrema_cy.c
> -o build/temp.linux-x86_64-3.6/_extrema_cy.o -MMD -MF
> build/temp.linux-x86_64-3.6/_extrema_cy.o.d" failed with exit status 1*
> *    gcc: error: _extrema_cy.c: No such file or directory*
> *    gcc: error: _extrema_cy.c: No such file or directory*
>
> *    ----------------------------------------*
> *Command "/home/liulab/anaconda3/envs/skimage/bin/python -c "import
> setuptools,
> tokenize;__file__='/home/liulab/Documents/scikit-image/setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps"
> failed with error code 1 in /home/liulab/Documents/scikit-image/*
>
> Please advise on what I should do to solve the issue and let me know if
> you have any questions.
>
> Thanks,
> Sena
>
>
>
>
> *_______________________________________________*
> scikit-image mailing list
> scikit-image at python.org
> https://mail.python.org/mailman/listinfo/scikit-image
>
>
> _______________________________________________
> scikit-image mailing list
> scikit-image at python.org
> https://mail.python.org/mailman/listinfo/scikit-image
>
>
> _______________________________________________
> scikit-image mailing list
> scikit-image at python.org
> https://mail.python.org/mailman/listinfo/scikit-image
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20180828/b9e6e4f0/attachment-0001.html>


More information about the scikit-image mailing list