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

Aniket Meshram aniket.g.meshram at gmail.com
Fri Dec 1 16:05:11 EST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20171202/f68c5bee/attachment.html>


More information about the scikit-learn mailing list