[XML-SIG] Mac Python (CFM68K) won't import pyexpat
Tamito Kajiyama
kajiyama@etl.go.jp
Sun, 13 Dec 98 08:14:49 JST
bbennett@unixg.ubc.ca (Bruce Bennett) writes:
|
| When I try to import pyexpat (as at the beginning of pyexpattest.py), I see
| a curious error message:
|
| Python 1.5.1 (#37, Apr 27 1998, 13:36:17) [CW CFM68K w/GUSI w/MSL]
| Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
| >>> import sys
| >>> import pyexpat
| Traceback (innermost last):
| File "<stdin>", line 1, in ?
| ImportError: PythonCore--PySys_WriteStderr:
| A fragment had "hard" unresolved imports.
I suspect that the XML package you are using is of a pre-release version
(probably xml-0.5pre1).
If you have compiled the XML package yourself, try the final version of
it. If you have installed a binary distribution for Macintosh, ask the
maintainer of the binary distribution ;-)
--
KAJIYAMA, Tamito <kajiyama@etl.go.jp>