Matplotlib works well with Cygwin (I am using it with the gtkcairo backend), but installing it can be a hassle. You'll have to fix errors such as the ones you're seeing by modifying setup.py or setupext.py. --Michiel.
--- On Mon, 8/16/10, Adam Gustafson <am...@stat.washington.edu> wrote: From: Adam Gustafson <am...@stat.washington.edu> Subject: [Matplotlib-users] Cygwin and matplotlib To: matplotlib-users@lists.sourceforge.net Date: Monday, August 16, 2010, 7:23 PM 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 <module> 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 -----Inline Attachment Follows----- ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev -----Inline Attachment Follows----- _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users