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 4239008
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:58:43+00:00 2026-05-21T02:58:43+00:00

I’m trying to set up pylab on my mac 10.6.7 32 bit machine; using

  • 0

I’m trying to set up pylab on my mac 10.6.7 32 bit machine; using virutalenv to isolate what I’m doing from everything else (coming from a ruby/rvm background this just makes me feel better–but I’m open to correction if it’s not the “python way”).

I have the following modules/libs installed:

DateUtils-0.5.1-py2.7.egg-info  numpy-1.5.1-py2.7.egg-info
IPython             pip-0.8.3-py2.7.egg
configobj.py            pylab.py
configobj.pyc           pylab.pyc
dateutil                pymc
dateutils               pymc-2.1beta-py2.7.egg-info
easy-install.pth            python_dateutil-2.0-py2.7.egg-info
enthought               pytz
ipython-0.10.1-py2.7.egg-info   pytz-2011e-py2.7.egg-info
matplotlib              scipy
matplotlib-0.91.1-py2.7.egg-info    scipy-0.9.0-py2.7.egg-info
nose                setuptools-0.6c11-py2.7.egg
nose-1.0.0-py2.7.egg-info       setuptools-0.6c12dev_r88795-py2.7.egg
numpy               setuptools.pth

The only one I can’t account for is enthought; I have never installed their python solution -must be a dependency of something else.

Numpy appears to be working just fine, matplotlib can be imported without issue; both from a shell. When I call just plain ipython no trouble either. But when I try and use pylab I python chokes on numpy.core.ma as in:

File "/Users/davidbgonzalez/.virtualenvs/VirtPy27/lib/python2.7/site-packages/matplotlib/numerix/ma/__init__.py", line 16, in <module>
from numpy.core.ma import *
ImportError: No module named ma

Backing into this I opened the __init__.py and a prompt as alluded to here. Sure enough, ma is found in numpy.ma not numpy.core.ma; verified via import numpy.ma.

I change the offending line:

from numpy.core.ma import * -> from numpy.ma import *

And get a new, very similar, error:

File "/Users/davidbgonzalez/.virtualenvs/VirtPy27/lib/python2.7/site-packages/matplotlib/numerix/npyma/__init__.py", line 7, in <module>
from numpy.core.ma import *
ImportError: No module named ma

But when I change that instance of numpy.core.ma to numpy.ma I get a dreadful:

Bus error

I’m open to any solutions.

  • 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-21T02:58:43+00:00Added an answer on May 21, 2026 at 2:58 am

    You appear to have a extremely old version of Matplotlib installed. I’m not sure where you got it, but the current version (1.0.1) can be downloaded from http://matplotlib.sourceforge.net/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to loop through a bunch of documents I have to put
I have a bunch of posts stored in text files formatted in yaml/textile (from
I'm parsing an RSS feed that has an &#8217; 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.