Linux and Numeric extensions...

Carl Johan Rehn carljohan.rehn at chello.se
Sun Sep 23 16:39:08 EDT 2001


Ignacio Vazquez-Abrams wrote:

> 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?
> 

Oh, I see that I'm running Python 2.0! Would this mean that I have to build 
NumPy from the source files?

/Carl




More information about the Python-list mailing list