Gcc -fno-strict-aliasing -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python/python-2.7.8-1.i686/build=/usr/src/debug/python-2.7.8-1 -fdebug-prefix-map=/usr/src/ports/python/python-2.7.8-1.i686/src/Python-2.7.8=/usr/src/debug/python-2.7.8-1 -DNDEBUG -g -fwrapv -O3 -Wall -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/home/lucky_000/.virtualenvs/vistafy/lib/python2.7/site-packages/numpy/core/include -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include -I. the problem I had before was really just something that it was throwing later. It has something to do with my libfreetype I’ve noticed.
![cygwin python 3 cygwin python 3](https://cdn-ak.f.st-hatena.com/images/fotolife/c/chakoku/20200215/20200215113402.png)
I gave up for a while and used my vagrant box. cygwin, matplotlib, numpy, python, scipyĪh man I wish it would’ve notified me that you replied.To do this, locate the file `matplotlibrc` and change `backend : agg` to `backend : tkagg`. To fix that, you need to have `XWinServer` running and should configure matplotlib to use `tkagg` backend.
CYGWIN PYTHON 3 INSTALL
I was able to get it to install using `pip -v install scipy=0.15.1`.Īfter installation, you may notice that you can’t plot stuff using mathplotlib’s `pyplot` module. The most important thing is that as of SciPy v 0.16.1, there seems to be some error in SciPy’s C files that prevents compilation and installation. Running `pip -v install numpy` and `pip -v install matplotlib` should get you those packages without much headache. The dependencies that pip complains about are straightforward (just mark them for installation in Cygwin’s installer). You also need to have `gcc-fortran`, `python-gtk2`, `tcl-tk`, `libpng`, `pkg-config` and a bunch of other stuff (that pip installer complains about) installed. Then using the `easy_install3 pip` command you can install pip.Īfter that, you need to have `liblapack-devel` and `libopenblas` installed via Cygwin’s package manager (SciPy depends on them). To install pip, you need to have `python3-setuptools`installed. The whole thing took a few hours to figure out thanks to crappy bundled packages that pip fetches and lack of consistency between helps available online.
![cygwin python 3 cygwin python 3](http://lanterns.eecs.utk.edu/software/liteos/info/screenshot_cygwin.jpg)
Today I tried installing these modules under Cygwin with pip.