Re: Error installing mxbase on ubuntu 12.04
Leonardo Santagada <[email protected]> Thu, 19 Apr 2012 19:01:49 -0300
| Newsgroups | gmane.comp.python.egenix.user |
|---|---|
| Message-ID | <CA+HFc87pTZeB5WVTsAS5U8Q0nLqxPuk18ivZBA6Q83fzqh4_tQ@mail.gmail.com> |
On Thu, Apr 19, 2012 at 6:04 PM, M.-A. Lemburg <[email protected]> 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 > >> $ 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/ -- Leonardo Santagada _______________________________________________________________________ eGenix.com User Mailing List http://www.egenix.com/ https://www.egenix.com/mailman/listinfo/egenix-users