Python + Mac Help

William Purcell williamhpurcell at gmail.com
Tue Aug 26 23:05:02 EDT 2008


I am new to the Mac/OS X world. I am trying to get Python set up with Numpy,
Scipy, Matplotlib, and wxPython. It seems that everything is working fine
except Scipy. To explain my problem, it is probably best to see the
following

Simply trying to import Scipy...
================================================
william-purcells-macbook:~ william$ python -c "import scipy"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named scipy
================================================

Importing pylab works fine....
================================================
william-purcells-macbook:~ william$ python -c "import pylab"
william-purcells-macbook:~ william$
================================================

My Python version...
================================================
william-purcells-macbook:~ william$ python -V
Python 2.5
================================================

But when I run 'ipython -python -p scipy' everything seems to be working
great. Except that it seems to be a little different version of Python
maybe.
================================================
Last login: Tue Aug 26 19:43:32 on ttys000
william-purcells-macbook:~ william$ ipython -pylab -p scipy
Leopard libedit detected.
SciPy profile successfully loaded.
Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.3.svn.r3001 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

  Welcome to pylab, a matplotlib-based Python environment.
  For more information, type 'help(pylab)'.

=================================================

I installed the Macscience Scipy Superpack to try to get everything I
needed. I have also tried a couple random installs from other places, but
I'm not for sure exactly what I have going on. Can someone point me in a
direction to start trouble shooting this? I have been trying to get this
working off and on for about three months, but have not had the time to dig
in and learn a new OS (I have Ubuntu installed also, which is what I'm used
to).

Thanks for your time,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080826/d9186192/attachment.html>


More information about the Python-list mailing list