[egenix-users] Pip + virtualenv problem installing egenix-mx-base

M.-A. Lemburg mal at egenix.com
Wed May 11 19:45:09 CEST 2011

Leonardo Santagada wrote:
> I tried installing egenix-mx-base on a virtualenv and found a problem:
> "
> usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>        or: -c --help [cmd1 cmd2 ...]
>        or: -c --help-commands
>        or: -c cmd --help
>     error: option --single-version-externally-managed not recognized
> "
> It appears that egenix-mx-base package doesn't use setuptools, is this right?

It doesn't use setuptools, that's correct.

However, you can still install the eggs we provide using
setuptools and also from source:

lemburg/tmp> virtualenv --no-site-packages testsetuptools
New python executable in testsetuptools/bin/python
Installing setuptools.......................done.

lemburg/tmp> cd testsetuptools/

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
Adding egenix-mx-base 3.1.2 to easy-install.pth file

Processing dependencies for egenix-mx-base
Finished processing dependencies for egenix-mx-base

tmp/testsetuptools> bin/python
Python 2.6.6 (r266:84292, Apr 19 2011, 11:55:58)
[GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Loaded pyinteractive.py.

>>> import mx.DateTime
>>> mx.DateTime.now()
<mx.DateTime.DateTime object for '2011-05-11 18:37:22.92' at 7fc8d08a4870>

pip appears to require a setup.py which uses setuptools and doesn't
appear to work with binary eggs either:

tmp/testpip> bin/pip install -i http://downloads.egenix.com/python/index/ucs2 egenix-mx-base
Downloading/unpacking egenix-mx-base
  Could not find any downloads that satisfy the requirement egenix-mx-base
No distributions at all found for egenix-mx-base

Nothing much we can do to help with that, sorry.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, May 11 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               40 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

More information about the egenix-users mailing list