Could someone please kindly let me know if matplotlib is compatible with Cygwin? I installed all the necessary dependencies, yet I cannot get matplotlib to compile correctly. At the build step, this is what I get:
$ python setup.py build
basedirlist is: [’/usr/local’, ‘/usr’]
···
============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.0.0
python: 2.6.5 (r265:79063, Jun 12 2010, 17:07:01) [GCC
4.3.4 20090804 (release) 1]
platform: cygwin
REQUIRED DEPENDENCIES
numpy: 1.4.1
freetype2: found, but unknown version (no pkg-config)
* WARNING: Could not find 'freetype2' headers in any
* of '/usr/include', '.', '/usr/include/freetype2',
* './freetype2'.
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
* Could not find ‘libpng’ headers in any of
* '/usr/include', '.'
cygwin warning:
MS-DOS style path detected: C:/Cygwin/usr/share/tcl8.4/tclConfig.sh
Preferred POSIX equivalent is: /usr/share/tcl8.4/tclConfig.sh
CYGWIN environment variable option “nodosfilewarning” turns off this warning.
Consult the user’s guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Traceback (most recent call last):
File “setup.py”, line 162, in
if check_for_tk() or (options[‘build_tkagg’] is True):
File “/home/Adam/installs/matplotlib-1.0.0/setupext.py”, line 816, in check_for_tk
explanation = add_tk_flags(module)
File “/home/Adam/installs/matplotlib-1.0.0/setupext.py”, line 1080, in add_tk_flags
result = parse_tcl_config(tcl_lib_dir, tk_lib_dir)
File “/home/Adam/installs/matplotlib-1.0.0/setupext.py”, line 938, in parse_tcl_config
tk_lib = tk_vars.get("default", "TK_LIB_SPEC")[1:-1].split()[0][2:]
IndexError: list index out of range