[scikit-learn] Error while running 'python setup.py build_ext --inplace'

Joel Nothman joel.nothman at gmail.com
Sat Dec 2 06:30:02 EST 2017


There's not enough information there for us to help you. Please provide the
full log if possible. Are you sure you want to build from source?

On 2 December 2017 at 08:05, Aniket Meshram <aniket.g.meshram at gmail.com>
wrote:

> hi,
>
> I'm following the 'ways to contribute page'
>
> After forking and cloning, I ran the command 'python setup.py build_ext
> --inplace'
> which is giving me the following error:
>
> cc1: some warnings being treated as errors
> error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2
> -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat
> -Werror=format-security -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include
> -I/usr/lib/python2.7/dist-packages/numpy/core/include
> -I/usr/include/python2.7 -c sklearn/neighbors/quad_tree.c -o
> build/temp.linux-x86_64-2.7/sklearn/neighbors/quad_tree.o" failed with
> exit status 1
>
> AnnGM
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20171202/98232ede/attachment.html>


More information about the scikit-learn mailing list