[egenix-users] Interpreter not initialized (version mismatch?) installing egenix mxBase?

M.-A. Lemburg mal at egenix.com
Wed Jan 28 11:09:31 CET 2004


heiho1 at mac.com wrote:
> Hello,
> 
> I am new to using eGenix and I was trying to run an install on OS X  
> Panther [10.3], which I recently upgraded to.  I downloaded the eGenix  
> base install and
> ran "python setup.py install".  I had to modify mxSetup.py to include  
> the following location for header files:
> 
> INCLPATH = build_path(['/usr/local/include', os.path.join(sys.prefix,  
> 'include'\
> ),  
> '/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/ '])
> 
> Once this was done, the install completed successfully however, I  
> cannot import certain packages:

Have you built the extensions using the same compiler as Python itself ?
The error you get is typical on other platforms (we don't support
OS X), which load to different Python DLLs and then find that one
of them is not initialized.

> """
> [James-Richardss-Computer:~] hanuman% python
> Python 2.3 (#1, Sep 13 2003, 00:49:11)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import mx.Queue
> Fatal Python error: Interpreter not initialized (version mismatch?)
> Abort
> [James-Richardss-Computer:~] hanuman% python
> Python 2.3 (#1, Sep 13 2003, 00:49:11)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import mx.Stack
> Fatal Python error: Interpreter not initialized (version mismatch?)
> Abort
> [James-Richardss-Computer:~] hanuman% python
> Python 2.3 (#1, Sep 13 2003, 00:49:11)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import mx.TextTools
> Fatal Python error: Interpreter not initialized (version mismatch?)
> Abort
> [James-Richardss-Computer:~] hanuman% python
> Python 2.3 (#1, Sep 13 2003, 00:49:11)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import mx.BeeBase
>  >>> import mx.Tools
> Fatal Python error: Interpreter not initialized (version mismatch?)
> Abort
> [James-Richardss-Computer:~] hanuman% python
> Python 2.3 (#1, Sep 13 2003, 00:49:11)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import mx.Misc
>  >>>
> """
> 
> So, I can import mx.Misc and mx.BeeBase with no problems but the other  
> packages return 'Interpreter not initialized' errors.
> 
> Does anyone have any idea what might cause this?
> 
> Thanks,
> 
> James
> 
> 
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> http://lists.egenix.com/mailman/listinfo/egenix-users

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jan 27 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2004-01-23: Released mxODBC.Zope.DA 1.0.8        http://zope.egenix.com/

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the egenix-users mailing list