[Pythonmac-SIG] Distutils in MacPython 2.0?

Aureli Soria Frisch Aureli.Soria_Frisch@ipk.fhg.de
Thu, 22 Mar 2001 17:46:48 +0100


Hi

>
>Distutils is included in MacPython 2.1. If you could try downloading
>the 2.1b1 distribution from http://www.cwi.nl/ftp/python/mac and check
>whether it can handle the gnuplot installer you would do me a great favor!

The installation was succesful (MacOS 8.6 &CarbonLib 1.2.5). Though it
seems that no Numerical Library is included (no directory in Extensions)
and no Developper Kit (both options were ticked in the installation).

I made 'import test' and no test was run, nothing happened.

The installation of Gnuplot was succesful. Nevertheless when I try to
initialize a Gnuplot application  the following error is prompted
(including the Numerical library  manually do not change anything):

>>> gn=Gnuplot.Gnuplot()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "Macintosh HD:Compiler:Python
2.1b1:Lib:site-packages:Gnuplot:_Gnuplot.py", line 186, in __init__
    self.gnuplot = gp.GnuplotProcess(persist=persist)
  File "Macintosh HD:Compiler:Python
2.1b1:Lib:site-packages:Gnuplot:gp_mac.py", line 103, in __init__
    self.gnuplot = _GNUPLOT()
  File "Macintosh HD:Compiler:Python
2.1b1:Lib:site-packages:Gnuplot:gp_mac.py", line 77, in __init__
    aetools.TalkTo.__init__(self, 'GPSE', start=1)
  File "macintosh hd:compiler:python 2.1b1:mac:lib:lib-toolbox:aetools.py",
line 160, in __init__
    self.start()
  File "macintosh hd:compiler:python 2.1b1:mac:lib:lib-toolbox:aetools.py",
line 164, in start
    _launch(self.target_signature)
  File "macintosh hd:compiler:python 2.1b1:mac:lib:lib-toolbox:aetools.py",
line 243, in _launch
    _finder.open(_application_file(('ID  ', appfile)))
  File "macintosh hd:compiler:python 2.1b1:mac:lib:lib-toolbox:aetools.py",
line 233, in open
    raise Error, decodeerror(_arguments)
aetools.Error: (-1728, 'e.g.,: specifier asked for the 3rd, but there are
only 2. Basically, this indicates a run-time resolution error.', None)
>>>

Regards,

#################################
Aureli Soria Frisch
Fraunhofer IPK
Dept. Pattern Recognition

post: Pascalstr. 8-9, 10587 Berlin, Germany
e-mail:aureli@ipk.fhg.de
fon: +49 30 39 00 61 50
fax: +49 30 39 17 517
#################################