[egenix-users] python-debug and mxdatetime

M.-A. Lemburg mal at egenix.com
Fri Jan 16 11:09:44 CET 2009


On 2009-01-16 10:25, Michele Petrazzo - Unipex srl wrote:
> Hi all,
> I'm trying to use the python-debug version and mxdatetime, but I recive
> an error and I don't know how to continue. I have already installed the
> python-egenix-mx-base-dbg package on my debian.

If you use the debug versions of Python, you have to build your
own mxDateTime binary from source (using the Python debug version),
e.g. "python2.5-dbg setup.py install".

The binaries we provide as pre-built packages are built against
the production version of Python.

Hope that helps,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jan 16 2009)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/

> Thanks,
> Michele
> 
> michele at portatile:~$ python2.5-dbg
> Python 2.5.2 (r252:60911, Jan  4 2009, 17:39:52)
> [GCC 4.3.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from mx import DateTime
> *** You don't have the (right) mxDateTime binaries installed !
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.5/site-packages/mx/DateTime/__init__.py", line
> 8, in <module>
>     from DateTime import *
>   File "/usr/lib/python2.5/site-packages/mx/DateTime/DateTime.py", line
> 9, in <module>
>     from mxDateTime import *
>   File
> "/usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/__init__.py",
> line 13, in <module>
>     raise ImportError, why
> ImportError:
> /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/mxDateTime.so:
> undefined symbol: Py_InitModule4
> [21567 refs]
>>>>
> 
> 
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> https://www.egenix.com/mailman/listinfo/egenix-users



More information about the egenix-users mailing list