[egenix-users] Egenix-mx-base install not working (with virtualenv, python 2.7 on ubuntu linux 11.04)

M.-A. Lemburg mal at egenix.com
Mon May 16 21:19:20 CEST 2011


Leonardo Santagada wrote:
> I can't install egenix-mx-base on ubuntu, neither using easy_install
> [1] nor using "python setup.py install"[2]. Somehow installing using
> easy_install it thinks that I'm on a windows machine, which clearly is
> not the case[3]. Is there some workaround?
> 
> [1]:
> 
> $ python setup.py install
> running install
> no build data file 'build/build-py2.7_ucs4.pck' found
> running build
> running mx_autoconf
> error: None

Could you investigate where the above error message originates ?

It appears to hint to the cause of the problem.

> [2]:
> 
> $ easy_install egenix-mx-base
> Searching for egenix-mx-base
> Reading http://pypi.python.org/simple/egenix-mx-base/
> Reading http://www.egenix.com/products/python/mxBase/
> Reading http://www.lemburg.com/python/mxExtensions.html
> Reading http://www.egenix.com/
> Best match: egenix-mx-base 3.1.2
> Downloading http://downloads.egenix.com/python/egenix-mx-base-3.1.2.tar.gz
> Processing egenix-mx-base-3.1.2.tar.gz
> Running egenix-mx-base-3.1.2/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-XjiwwV/egenix-mx-base-3.1.2/egg-dist-tmp-CgoVf8
> Warning: Can't read registry to find the necessary compiler setting
> Make sure that Python modules _winreg, win32api or win32con are installed.
> error: Setup script exited with error: None
> 
> [3]:
> 
> $ python
> Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
> [GCC 4.5.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sys
>>>> sys.platform
> 'linux2'

It works for me with Python 2.6:

tmp/testsetuptools> bin/easy_install egenix-mx-base
Searching for egenix-mx-base
Reading http://pypi.python.org/simple/egenix-mx-base/
Reading http://www.egenix.com/products/python/mxBase/
Reading http://www.lemburg.com/python/mxExtensions.html
Reading http://www.egenix.com/
Best match: egenix-mx-base 3.1.2
Downloading http://downloads.egenix.com/python/egenix-mx-base-3.1.2.tar.gz
Processing egenix-mx-base-3.1.2.tar.gz
Running egenix-mx-base-3.1.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-Bit3qf/egenix-mx-base-3.1.2/egg-dist-tmp-u98apF
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules _winreg, win32api or win32con are installed.
In file included from mx/TextTools/mxTextTools/mxte.c:42:0:
mx/TextTools/mxTextTools/mxte_impl.h: In function mxTextTools_TaggingEngine:
mx/TextTools/mxTextTools/mxte_impl.h:345:26: warning: pointer targets in initialization differ in
signedness
mx/TextTools/mxTextTools/mxte_impl.h:364:26: warning: pointer targets in initialization differ in
signedness
...
mx/UID/mxUID/mxUID.c:199:16: note: expected unsigned char * but argument is of type char *
zip_safe flag not set; analyzing archive contents...
mx.Log: module references __path__
mx.Log: module references __path__
mx.Tools.mxTools.hack: module references __path__
mx.Tools.mxTools.hack: module references __path__
mx.Misc.PackageTools: module references __path__
mx.Misc.PackageTools: module references __path__
Adding egenix-mx-base 3.1.2 to easy-install.pth file

Installed
/home/lemburg/tmp/testsetuptools/lib/python2.6/site-packages/egenix_mx_base-3.1.2-py2.6-linux-x86_64.egg
Processing dependencies for egenix-mx-base
Finished processing dependencies for egenix-mx-base

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, May 16 2011)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2011-06-20: EuroPython 2011, Florence, Italy               35 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