Mailing List Archive

Problems with Install of LLNLDistribution11 (beginner)
I am trying to install the Numeric and Graphics packages and I have
the follwing problems
1. The numeric package was installed as
$PREFIX/lib/python1.5/site-packages/numeric
However, I am not able to import numeric using
from numeric import *

2. My make of Graphics fails at
gcc -I$PREFIX/lib/yorick/1.4/h -I../Numeric/Include/. -g -O2
-I$PREFIX/include/python1.5
-I/apps/public/solaris2.5.1/include/python1.5 -DHAVE_CONFIG_H
-c ./Gist/Src/gistCmodule.c ./Gist/Src/gistCmodule.c:75:
arrayobject.h: No such file or directory
./Gist/Src/gistCmodule.c:88: warning: `PyFPE_END_PROTECT'
redefined
/apps/public/solaris2.5.1/include/python1.5/pyfpe.h:169:
warning: this is the location of the previous definition make:
*** [gistCmodule.o] Error 1

I am trying this on solaris 2.5.1 on a Sun Ultra 30. Does anyone have
clues I can use?

Kumar.
Problems with Install of LLNLDistribution11 (beginner) [ In reply to ]
Kumar Balachandran wrote:
>
> I am trying to install the Numeric and Graphics packages and I have
> the follwing problems
> 1. The numeric package was installed as
> $PREFIX/lib/python1.5/site-packages/numeric
> However, I am not able to import numeric using
> from numeric import *

The package is called Numeric.

Python 1.5.1 (#1, Mar 21 1999, 22:49:36) [GCC egcs-2.91.66
19990314/Li on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> from Numeric import *
>>> array
<built-in function array>
>>>


-------------------------------------------
Tom Bryan
Applied Research Laboratories
University of Texas at Austin
Problems with Install of LLNLDistribution11 (beginner) [ In reply to ]
--------------C586B1E19724233EB941F505
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Or if it is to do with the directory try:
import sys
sys.path.insert(0, "filename")
import Numeric

Thomas Bryan wrote:

> Kumar Balachandran wrote:
> >
> > I am trying to install the Numeric and Graphics packages and I have
> > the follwing problems
> > 1. The numeric package was installed as
> > $PREFIX/lib/python1.5/site-packages/numeric
> > However, I am not able to import numeric using
> > from numeric import *
>
> The package is called Numeric.
>
> Python 1.5.1 (#1, Mar 21 1999, 22:49:36) [GCC egcs-2.91.66
> 19990314/Li on linux-i386
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> from Numeric import *
> >>> array
> <built-in function array>
> >>>
>
> -------------------------------------------
> Tom Bryan
> Applied Research Laboratories
> University of Texas at Austin



--------------C586B1E19724233EB941F505
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Or if it is to do with the directory try:
<BR>import sys
<BR>sys.path.insert(0, "<I>filename</I>")
<BR>import Numeric

<P>Thomas Bryan wrote:
<BLOCKQUOTE TYPE=CITE>Kumar Balachandran wrote:
<BR>>
<BR>> I am trying to install the Numeric and Graphics packages and I have
<BR>> the follwing problems
<BR>> 1. The numeric package was installed as
<BR>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $PREFIX/lib/python1.5/site-packages/numeric
<BR>>&nbsp;&nbsp;&nbsp; However, I am not able to import numeric using
<BR>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from numeric import
*

<P>The package is called Numeric.

<P>Python 1.5.1 (#1, Mar 21 1999, 22:49:36)&nbsp; [GCC egcs-2.91.66
<BR>19990314/Li on linux-i386
<BR>Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
<BR>>>> from Numeric import *
<BR>>>> array
<BR>&lt;built-in function array>
<BR>>>>

<P>-------------------------------------------
<BR>Tom Bryan
<BR>Applied Research Laboratories
<BR>University of Texas at Austin</BLOCKQUOTE>
&nbsp;</HTML>

--------------C586B1E19724233EB941F505--