John Hunter <jdh2...@gmail.com> writes: > es, this is your problem. You have the matplotlib source directory in > your HOME directory and when you run from your home directory, it is > being picked up instead of the installation directory. I usually name > my src tree "mpl" to avoid this problem
I don't know why there is an empty __init__.py in the source directory, but would something break if the file printed out a warning, like print ''' Warning: your "import %s" is picking up the matplotlib source directory, which is not usable as a Python module. To avoid this problem, either rename the directory to e.g. "mpl" or move it to some directory that is not on your Python path. ''' % __name__ -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users