|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
0.99.1.1 build attempts to import non-existing wxHi All -
I just downloaded 0.99.1.1 and I'm finding this error: [esheldon@bach00 matplotlib-0.99.1.1] python setup.py build ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.99.1.1 python: 2.6.2 (r262:71600, Sep 10 2009, 19:21:08) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.3.0 freetype2: 9.10.3 OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.10 Tkinter: Tkinter: 70220, Tk: 8.4, Tcl: 8.4 * Guessing the library and include directories for * Tcl and Tk because the tclConfig.sh and * tkConfig.sh could not be found and/or parsed. wxPython: no * wxPython not found Traceback (most recent call last): File "setup.py", line 146, in <module> import wx ImportError: No module named wx Seems to recognize that wx is not found but then tries to import it anyway. This is due to the variable options['build_wxagg'] being True. When I build 0.99.0 this variable has the value 'auto' and wx is not imported. This seems to be a bug, but perhaps I'm missing something. thanks, Erin Sheldon FYI, there is the setup when building 0.99.0 [esheldon@bach00 matplotlib-0.99.0] python setup.py build ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.99.0 python: 2.6.2 (r262:71600, Sep 10 2009, 19:21:08) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.3.0 freetype2: 9.10.3 OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.10 Tkinter: Tkinter: 70220, Tk: 8.4, Tcl: 8.4 * Guessing the library and include directories for * Tcl and Tk because the tclConfig.sh and * tkConfig.sh could not be found and/or parsed. wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: no Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: matplotlib will provide adding pytz OPTIONAL USETEX DEPENDENCIES dvipng: 1.5 ghostscript: 8.15.2 latex: 3.141592 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
|
Source tarball should not include setup.cfg (was: 0.99.1.1 build attempts to import non-existing wx)Erin Sheldon <erin.sheldon@...> writes:
> I just downloaded 0.99.1.1 and I'm finding this error: > wxPython: no > * wxPython not found > Traceback (most recent call last): > File "setup.py", line 146, in <module> > import wx > ImportError: No module named wx This is because the distribution includes a setup.cfg file by mistake. Deleting setup.cfg should allow the autodetection logic to disable building wxagg. This is bug #2871530 on Sourceforge: https://sourceforge.net/tracker/?func=detail&aid=2871530&group_id=80706&atid=560720 I suggest we release a 0.99.1.2, possibly with just this bug fixed, since this problem keeps being reported on the mailing lists. -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
|
Re: Source tarball should not include setup.cfg (was: 0.99.1.1 build attempts to import non-existing wx)On Wed, Oct 28, 2009 at 1:09 AM, Jouni K. Seppänen <jks@...> wrote:
> This is because the distribution includes a setup.cfg file by mistake. > Deleting setup.cfg should allow the autodetection logic to disable > building wxagg. This is bug #2871530 on Sourceforge: > > https://sourceforge.net/tracker/?func=detail&aid=2871530&group_id=80706&atid=560720 > > I suggest we release a 0.99.1.2, possibly with just this bug fixed, > since this problem keeps being reported on the mailing lists. My OSX build machine died recently so would take some time. Perhaps we should just upload a 0.99.1.1 tarball only to the sf site? Earlier I tried deleting 0.99.1 and reuploading, and it apparently worked on the one mirror I tested, but clearly it did not propagate through. JDH ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
| Free embeddable forum powered by Nabble | Forum Help |