[Pythonmac-SIG] Problems with Aqua python 2.3 vs. FINK python 2.2

Robb Brown brownr@ucalgary.ca
Wed, 29 May 2002 11:34:45 -0600


I have both the FINK Python 2.2 distribution and Python 2.3 built 
from sources including Aqua Tkinter.  I'm having some problems 
importing certain modules under Python 2.3 (they all work fine under 
the FINK Py2.2).

Numpy works fine under both.  Biggles gives the following under 2.3:

>>>  from biggles import *
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/biggles/__init__.py", 
line 24, in ?
     from biggles import          \
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/biggles/biggles.py", 
line 24, in ?
     import config, _biggles
ImportError: Failure linking new module: : dyld: 
/Applications/Python.app/Contents/MacOS/python Undefined symbols:
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/biggles/_biggles.so 
undefined reference to _PyArg_ParseTuple expected to be defined in 
the executable
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/biggles/_biggles.so 
undefined reference to _PyCObject_AsVoidPtr expected to be defined in 
the executable
/Library/Frameworks/Python.framework/Versions/
>>>



VTK gives the following under 2.3:

>>>  from vtkpython import *
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/vtk/vtkpython.py", 
line 29, in ?
     exec "from "+kit_name+" import *"
   File "<string>", line 1, in ?
ImportError: Failure linking new module: : dyld: 
/Applications/Python.app/Contents/MacOS/python Undefined symbols:
_PyArg_VTKParseTuple
_PyVTKClass_Check
_PyVTKClass_New
_PyVTKClass_vtkCollectionNew
_PyVTKClass_vtkDataObjectNew
_PyVTKClass_vtkImplicitFunctionNew
_PyVTKClass_vtkLocatorNew
_PyVTKClass_vtkObjectNew
_PyVTKClass_vtkPointLocator2DNew
_PyVTKClass_vtkPointLocatorNew
_PyVTKClass_vtkScalarsToColorsNew
_PyVTKClass_vtkSourceNew
_vtkPythonCheckArray__FP7_objectiPfi
_vtkPythonCheckArray__FP7_objectiPii
_vtkPythonGet



Any suggestions?

Thanks,
-- 
______________________________
Robb Brown
Seaman Family MR Research Centre
Calgary, Alberta, Canada