numpy question: how to get started

Victor Eijkhout eijkhout at tacc.utexas.edu
Mon May 11 02:02:06 PDT 2009


I thought I had numpy installed and that this is how it was used:

[albook:~] %% which python
/opt/local/bin/python
[albook:~] %% python_select -s
python26
[albook:~] %% port installed | grep 26
   py26-altgraph @0.6.7_0 (active)
   py26-bdist_mpkg @0.4.3_0 (active)
   py26-configobj @4.5.2_0 (active)
   py26-dateutil @1.4.1_0 (active)
   py26-macholib @1.2_0 (active)
   py26-matplotlib @0.98.5.2_0+darwin_9+tkinter (active)
   py26-modulegraph-devel @0.7.2_0 (active)
   py26-mysql @1.2.2_0+mysql5 (active)
   py26-nose @0.10.4_0 (active)
   py26-numpy @1.3.0_0 (active)
   py26-py2app-devel @0.4.2_1 (active)
   py26-pyobjc2 @2.0_1 (active)
   py26-pyobjc2-cocoa @2.0_1 (active)
   py26-setuptools @0.6c9_0 (active)
   py26-tz @2009f_0 (active)
   python26 @2.6.2_1 (active)
[albook:~] %% python
Python 2.6.2 (r262:71600, Apr 29 2009, 10:46:45)
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import Numeric
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named Numeric
 >>> import multarray
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named multarray

??

Victor.
-- 
Victor Eijkhout, 512 471 5809 (w), 512 499 0504 (h)
Texas Advanced Computing Center, The University of Texas at Austin






More information about the macports-users mailing list