Linux and Numeric extensions...

Ignacio Vazquez-Abrams ignacio at openservices.net
Sun Sep 23 15:50:51 EDT 2001


On Sun, 23 Sep 2001, Carl Johan Rehn wrote:

> Ignacio Vazquez-Abrams wrote:
>
> > On Sun, 23 Sep 2001, Carl Johan Rehn wrote:
> >
> >> I am running Linux Suse 7.2 and have recently installed the Numeric
> >> extensions to Python, but when I import the Numeric library the Python
> >> interpreter cannot find the library. I suppose I have to add
> >> the path to the site-packages/Numeric library somewhere, but I don't know
> >> where.
> >>
> >> Can anybody help me?
> >
> > Once you use distutils to compile and install the Numeric extensions, you
> > should just be able to import the modules in the package, e.g.,
> > Numeric.Numeric. What's happening in your case?
> >
>
> I think I've used the rpm distribution of Numeric and when I do "import
> Numeric" I just get "ImportError: No module named Numeric".

The NumPy 20.1 RPM ( the latest version, 20.2, doesn't yet have RPMs) is built
for Python 2.1(.1). What version of Python are you using?

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list