SourceForge logo
SourceForge logo
Menu

Re: [Matplotlib-users] Pb with setupext.py - nonstandard installation of python and tk

From: Michael D. <md...@st...> - 2008年02月25日 16:40:05
You may want to confirm that the python use use to build matplotlib is 
the intended one (in your home). As a first try, matplotlib's setup 
will import Tkinter and grab the include paths from there.
By this I mean when you type:
 python setup.py install
that "python" is the specific python use want to use.
Also check that Tkinter imports without errors in your custom Python.
Cheers,
Mike
BL wrote:
> Hi,
> 
> I've got difficulties to make a local installation of matplotlib.
> I think it's due to my nonstandard installation of python and tk, which 
> both are in my home.
> 
> I've seen on the website that , for non standard installation, I should 
> complete the basedir dictionary defined in the setupext.py script.
> 
> But for the Tcl/Tk header files, this does not seems to work. Whatever I 
> put in this dictionary, the module.include_dirs corresponding to Tk 
> (line 825 of setupext.py) is always equal to ['/usr/share/include', 
> '/usr/share/include'].
> 
> Did I miss something obvious ?
> 
> I'm on a linux2 platform and I''m trying make a local installation of 
> python2.5 + matplotlib 0.91.2 in my home.
> 
> Regards,
> -- 
> LB
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /