Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3597424
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:07:01+00:00 2026-05-18T20:07:01+00:00

I’m new to Mac so please bear with me. I’m using snow leopard 10.6.4

  • 0

I’m new to Mac so please bear with me.

I’m using snow leopard 10.6.4 at the moment.

I want to install numpy and scipy, so I downloaded the python2.6,numpy and scipy dmg files from their official site. However, I’m having problem import numpy:

Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so: no matching architecture in universal wrapper

Can anyone shed some light to this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T20:07:02+00:00Added an answer on May 18, 2026 at 8:07 pm

    Sounds as though you might be trying to use a 32-bit library from a 64-bit Python. Looks like there’s an unofficial 64-bit Numpy available for Snow Leopard.


    EDIT: The Python 2.6 .dmg available here is indeed 32-bit. (Specifically, it’s a universal binary containing both i386 and ppc versions). The same is true of the regular numpy and scipy .dmg releases available here. (How do I know? See below!) So if you use those releases together you should be fine.

    But you’re not fine – so my guess is you’re not using the version of Python from the 2.6 .dmg you downloaded. If you’re running an executable python script, e.g.:

    $ ./my-script.py
    

    then you could try specifying the Python you’re using explicitly on the command line. Looks like the MacPython .dmg installs to /usr/local/bin/python, so try:

    $ /usr/local/bin/python2.6 myscript.py
    

    Any joy?


    How I determined the architecture the contents of those .dmg files are built for…

    1. Mount the .dmg (i.e. double-click it to open a volume)
    2. Use gunzip and pax to unpack the package contents to a local directory, e.g.:

      $ mkdir tmp
      $ cd tmp
      $ gunzip -c /Volumes/Universal\ MacPython\ 2.6/MacPython.mpkg/Contents/Packages/PythonUnixTools-2.6.pkg/Contents/Archive.pax.gz | pax
      
    3. Use file to examine binary files in the package contents

      $ file Versions/2.6/bin/python
      Versions/2.6/bin/python: Mach-O universal binary with 2 architectures
      Versions/2.6/bin/python (for architecture ppc): Mach-O executable ppc
      Versions/2.6/bin/python (for architecture i386):    Mach-O executable i386
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I want use html5's new tag to play a wav file (currently only supported
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.