[egenix-users] Error installing mxbase on ubuntu 12.04
M.-A. Lemburg
mal at egenix.com
Sat Apr 21 01:44:57 CEST 2012
Leonardo Santagada wrote:
> great, I will be waiting for it... I didn't find any way to download a
> previous version of mxbase to test to see if it works so I need it
> when we move our servers to 12.04.
You can download the package from the product page:
http://www.egenix.com/products/python/mxBase/
If you need previous versions, see the history:
http://www.egenix.com/products/python/mxBase/#History
However, the 3.1 releases are also affected by the problem, since
they too use the most recent mxSetup.py
> On Fri, Apr 20, 2012 at 5:51 AM, M.-A. Lemburg <mal at egenix.com> wrote:
>> Hi Leonardo,
>>
>> we will issue a path release to fix this problem. Thank you for
>> reporting it.
>>
>> Regards,
>> --
>> Marc-Andre Lemburg
>> eGenix.com
>>
>> Professional Python Services directly from the Source (#1, Apr 20 2012)
>>>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
>> ________________________________________________________________________
>> 2012-04-28: PythonCamp 2012, Cologne, Germany 8 days to go
>>
>> ::: 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/
>>
>>
>>
>> M.-A. Lemburg wrote:
>>> M.-A. Lemburg wrote:
>>>> Leonardo Santagada wrote:
>>>>> On Thu, Apr 19, 2012 at 6:04 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>>>>>> Leonardo Santagada wrote:
>>>>>>> python 2.7.3 on ubuntu 12.04 beta2.
>>>>>>
>>>>>> The traceback looks like you don't have distutils installed or only
>>>>>> part of it.
>>>>>>
>>>>>> Try to do an "import distutils" or "import distutils.ccompiler" from
>>>>>> the Python prompt.
>>>>>
>>>>> I did and It worked, the problem is that it doesn't have customize_compiler
>>>>
>>>> Looks like this patch broke distutils in 2.7.3:
>>>>
>>>> http://hg.python.org/cpython/rev/6240ff5dfebe
>>>>
>>>> See http://bugs.python.org/issue13994
>>>
>>> You can work around it by editing mxSetup and changing the import
>>> line to:
>>>
>>> from distutils.ccompiler import customize_compiler
>>>
>>> to
>>>
>>> from distutils.sysconfig import customize_compiler
>>>
>>>>>>> $ pip install egenix-mx-base
>>>>>>> Downloading/unpacking egenix-mx-base
>>>>>>> Running setup.py egg_info for package egenix-mx-base
>>>>>>> Traceback (most recent call last):
>>>>>>> File "<string>", line 14, in <module>
>>>>>>> File "/home/santagada/.virtualenvs/oerp/build/egenix-mx-base/setup.py",
>>>>>>> line 9, in <module>
>>>>>>> import egenix_mx_base
>>>>>>> File "egenix_mx_base.py", line 11, in <module>
>>>>>>> from mxSetup import mx_Extension, mx_version
>>>>>>> File "mxSetup.py", line 318, in <module>
>>>>>>> from distutils.ccompiler import customize_compiler
>>>>>>> ImportError: cannot import name customize_compiler
>>>>>>> Complete output from command python setup.py egg_info:
>>>>>>> Traceback (most recent call last):
>>>>>>>
>>>>>>> File "<string>", line 14, in <module>
>>>>>>>
>>>>>>> File "/home/santagada/.virtualenvs/oerp/build/egenix-mx-base/setup.py",
>>>>>>> line 9, in <module>
>>>>>>>
>>>>>>> import egenix_mx_base
>>>>>>>
>>>>>>> File "egenix_mx_base.py", line 11, in <module>
>>>>>>>
>>>>>>> from mxSetup import mx_Extension, mx_version
>>>>>>>
>>>>>>> File "mxSetup.py", line 318, in <module>
>>>>>>>
>>>>>>> from distutils.ccompiler import customize_compiler
>>>>>>>
>>>>>>> ImportError: cannot import name customize_compiler
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Marc-Andre Lemburg
>>>>>> eGenix.com
>>>>>>
>>>>>> Professional Python Services directly from the Source (#1, Apr 19 2012)
>>>>>>>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>>>>>>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>>>>>>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
>>>>>> ________________________________________________________________________
>>>>>> 2012-04-28: PythonCamp 2012, Cologne, Germany 9 days to go
>>>>>>
>>>>>> ::: 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/
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
>
>
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Apr 21 2012)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
2012-04-28: PythonCamp 2012, Cologne, Germany 7 days to go
::: 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/
More information about the egenix-users
mailing list