Jorgos Castello, on 2011-02-10 02:52,  wrote:
> First, my system is MacOS X SnowLeopard 10.6.6 / installed Python 2.7.1 ( not 
> Apple Python ) / installed NumPy 1.5.1 / installed SciPy 0.9.0rc1/ installed 
> matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg
> 
> Second, I tried to figure out that tutorial 
> http://scipy.org/Cookbook/OptimizationDemo1 and after typing in "from pylab 
> import *"
> I get following error:
> >>> from pylab import *
>     
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/_path.so:
>  no matching architecture in universal wrapper

Hi Jorgos,

seems like you're using a 64 bit (or a multi-architecture)
version of python.

  import sys
  [bits for bits in 32,64 if sys.maxint+1 == 2**(bits-1)]

will tell you if you're using 32 or 64 bit mode. You'll have to
either force 32 bit mode, or install matplotlib from source (i
don't there are python2.7 64 bit version for OS X at this time)

more on how to do that in the comments of the top reply here:
http://stackoverflow.com/questions/3606964/no-matching-architecture-in-universal-wrapper-problem-in-wxpython

best,
-- 
Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to