I think that this may be an oversight in the construction of the standalone 
Spyder app (dmg bundle). Although I don't know how this would happen.

My standalone Spyder app has the following contents in 
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/site-packages/mpl_toolkits":
mplot3d

My MacPorts installation of matplotlib 1.2.0 has the following contents in 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits":
axes_grid
axisartist
axes_grid1
exceltools.py
gtktools.py
mplot3d

Why these are not included int the Spyder.app mpl_toolkits directory, I don't 
know. As a temporary fix you could just download matplotlib from the website 
(http://matplotlib.org/downloads.html) and extract the files from mpl_tookits 
and copy them to the appropriate directory in Spyder.app. However, this would 
be overwritten when you ever upgrade Spyder.app.

Ryan Clary

On Feb 28, 2013, at 11:20 PM, [email protected] wrote:

> Thanks for posting for me dcn, I've now found my way here.
> 
> It looks like a Spyder  2.2b3 OSXLion.dmg setup problem:
> 
> 0) On a fresh mac, OSX 10.8.2, no other python installed except the Apple 
> python setup
> 1) mount dmg and drag spyder app into Applications
> 2) Launch Spyder.app, console:
> 
> Python 2.7.3 (default, Jul 24 2012, 20:20:13) 
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> 
> Imported NumPy 1.6.2, SciPy 0.11.0, Matplotlib 1.2.0
> Type "scientific" for more details.
> >>> 
> 
> 3) open scatter_hist.py from 
> http://matplotlib.org/examples/axes_grid/scatter_hist.html
> 4) run, output:
> Traceback (most recent call last):
>   File "/Users/ralph/scatter_hist.py", line 11, in <module>
>     from mpl_toolkits.axes_grid1 import make_axes_locatable
> ImportError: No module named axes_grid1
> 
> 5) using terminal.app and running python as is doesn't load matplotlib at 
> all, as the main Apple setup is still plain vanilla python.
> 
> 6) when I install EnThought Free distribution, I can run scatter_hist.py from 
> the terminal, and it still fails in Spyder.app
> 
> Thats about all I think.  For now ill use enthought and will try spyder for 
> OSX dmg/app later and see if it gets better later.
> 
> R
> 
> PS, I use tcsh not bash if that is of any importance.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/spyderlib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to