SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Better to compile Python and libraries from source? If so, what version?

From: Benjamin R. <ben...@ou...> - 2010年09月22日 21:57:49
On Wed, Sep 22, 2010 at 2:15 PM, Jeremy Lounds <lo...@gm...> wrote:
> Hi,
>
> I have another question for the group...
>
> I saw in the archives someone else who was getting the error I am now
> running in to now. He said he solved it by recompiling from sources. I
> was wondering what version of Python is optimal for matplotlib and
> basemap?
>
> Or maybe somebody knows how I can fix this without compiling? I prefer
> to use the package management for easier upgrades in the future.
>
> In case anyone was curious about the error, it is "AttributeError:
> 'AxesSubplot' object has no attribute 'get_autoscalex_on'".
>
> I was attempting to take one of the examples (simpletest.py) and use
> "agg" to output to a image file, as outlined in the matplotlib
> tutorial here:
>
>
> http://matplotlib.sourceforge.net/faq/howto_faq.html?highlight=web#matplotlib-in-a-web-application-server
>
> Thanks again,
>
> ~ Jeremy
>
>
There shouldn't be a need for compiling python from source. mpl supports
python 2.4, 2.5, 2.6, 2.7 (and others?). Instead, what probably solved that
person's problem was installing a more recent version of matplotlib. Which
version do you have right now?
Ben Root

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 によって変換されたページ (->オリジナル) /