Skip to content Skip to sidebar Skip to footer

Matplotlib Error While Installing Pyspeckit

While trying to download Pyspeckit (an astronomy program) I needed to get matplotlib for it to work. When I went to try and install matplotlib however, cygwin gave me the error : I

Solution 1:

I had the same problem with matplotlib on Cygwin.

There is a variable called "_C" defined in lib/matplotlib/tri/_tri.h on line 821 and invoked in tri.cpp on lines 2180 and 2186. For some reason gcc doesn't like this (is it a reserved word in some architecture?). I just renamed the variable to "_Co" in both tri.h and tri.cpp, and the compilation finished successfully.

Solution 2:

The issue have been handled in the following ticket:

https://github.com/matplotlib/matplotlib/issues/2463

Post a Comment for "Matplotlib Error While Installing Pyspeckit"