Installing scipy in cygwin
I can't install scipy in cygwin (32-bit) with any method I've tried (pip, direct source). Here is the error I am getting
from scipy/spatial/ckdtree/src/ckdtree_globals.cxx:9:
/usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: βint _import_array()β defined but not used [-Wunused-function]
_import_array(void)
^
error: Command "g++ -fno-strict-aliasing -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python/python-2.7.10-1.i686/build=/usr/src/debug/python-2.7.10-1 -fdebug-prefix-map=/usr/src/ports/python/python-2.7.10-1.i686/src/Python-2.7.10=/usr/src/debug/python-2.7.10-1 -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/include/python2.7 -I/usr/lib/python2.7/site-packages/numpy/core/include -Iscipy/spatial/ckdtree/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c scipy/spatial/ckdtree/src/ckdtree_globals.cxx -o build/temp.cygwin-2.2.0-i686-2.7/scipy/spatial/ckdtree/src/ckdtree_globals.o" failed with exit status 1
There are also many warnings before this. What's the correct way to get scipy on cygwin. I also looked at the official lean website http://www.scipy.org/scipylib/building/windows.html , but I found it a bit difficult to follow. However, I'm willing to give it a try if this is the easiest way and still works today.
source to share
You can try downloading C ++ for Python from http://aka.ms/vcpython27 , install it and try again.
I really like the distros from http://www.lfd.uci.edu/~gohlke/pythonlibs/
source to share
I have tried in recent days myself. But as for gt6989b, answer, from pythonlibs site:
"Binaries are compatible with the official CPython distribution on Windows> = 6.0. Most likely they do not work with the custom Python distributions included in Blender, Maya, ArcGIS, OSGeo4W, ABAQUS, Cygwin, Pythonxy, Canopy, EPD, Anaconda, WinPython, etc. .d. Many binaries are not compatible with Windows XP or Wine.
source to share