Skip to content

Instantly share code, notes, and snippets.

@sheilatron
Created August 13, 2015 08:53
Show Gist options
  • Save sheilatron/4e52f3508425569336ad to your computer and use it in GitHub Desktop.
Save sheilatron/4e52f3508425569336ad to your computer and use it in GitHub Desktop.
wheel error pip install egenix-mxodbc
I've seen this on both Linux & Windows while using pip install as well as upgrade (-U option).
The installation works for my virtualenv, but there is a build error for creating wheels.
(zopish) C:\Users\sallen\env\zopish\Lib>pip install -U egenix-mxodbc
Collecting egenix-mxodbc
Downloading egenix-mxodbc-3.3.4.zip (78kB)
100% |################################| 81kB 1.6MB/s
Requirement already up-to-date: egenix-mx-base in c:\users\sallen\env\zopish\lib\site-packages (from egenix-mxodbc)
Building wheels for collected packages: egenix-mxodbc
Running setup.py bdist_wheel for egenix-mxodbc
Complete output from command C:\Users\sallen\env\zopish\Scripts\python.exe -c "import setuptools;__file__='c:\\users\\
sallen\\appdata\\local\\temp\\pip-build-pyjbgb\\egenix-mxodbc\\setup.py';exec(compile(open(__file__).read().replace('\r\
n', '\n'), __file__, 'exec'))" bdist_wheel -d c:\users\sallen\appdata\local\temp\tmprp2vvzpip-wheel-:
running bdist_wheel
found usable build data file 'build\\build-py2.7_ucs2.pck'
prebuilt archive found: skipping the build process and loading the prebuilt archive
setting platform to 'win-amd64'
restoring build data from a previous build run
loaded build data for platform 'win-amd64'
installing to build\bdist.win-amd64-py2.7\wheel
running install
running install_lib
creating build\bdist.win-amd64-py2.7
creating build\bdist.win-amd64-py2.7\wheel
creating build\bdist.win-amd64-py2.7\wheel\mx
creating build\bdist.win-amd64-py2.7\wheel\mx\ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\Constants.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..
\mx\ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\Constants.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..
\mx\ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\COPYRIGHT -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\mx\
ODBC
creating build\bdist.win-amd64-py2.7\wheel\mx\ODBC\Doc
copying build\lib.win-amd64-2.7\mx\ODBC\Doc\mxODBC.pdf -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\.
.\mx\ODBC\Doc
copying build\lib.win-amd64-2.7\mx\ODBC\Error.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\mx\
ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\Error.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\mx\
ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\LazyModule.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\.
.\mx\ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\LazyModule.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\.
.\mx\ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\LICENSE -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\mx\OD
BC
creating build\bdist.win-amd64-py2.7\wheel\mx\ODBC\Manager
copying build\lib.win-amd64-2.7\mx\ODBC\Manager\__init__.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.
data\..\mx\ODBC\Manager
copying build\lib.win-amd64-2.7\mx\ODBC\Manager\__init__.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.
data\..\mx\ODBC\Manager
creating build\bdist.win-amd64-py2.7\wheel\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\Helpers.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data
\..\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\Helpers.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data
\..\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\proc.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..
\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\proc.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..
\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\RowFactory.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.d
ata\..\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\RowFactory.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.d
ata\..\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\test.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..
\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\test.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..
\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\__init__.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.dat
a\..\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\Misc\__init__.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.dat
a\..\mx\ODBC\Misc
copying build\lib.win-amd64-2.7\mx\ODBC\ODBC.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\mx\O
DBC
copying build\lib.win-amd64-2.7\mx\ODBC\ODBC.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\mx\O
DBC
copying build\lib.win-amd64-2.7\mx\ODBC\README -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\mx\ODB
C
creating build\bdist.win-amd64-py2.7\wheel\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\COPYRIGHT -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.dat
a\..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\dbi.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\
..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\dbi.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\
..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\dbtypes.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.d
ata\..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\dbtypes.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.d
ata\..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\LICENSE -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\
..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\mxODBC.pyd -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.da
ta\..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\__init__.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.
data\..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\__init__.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.
data\..\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\__init__.pyc -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\
mx\ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\__init__.pyo -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\
mx\ODBC
writing byte-compilation script 'c:\users\sallen\appdata\local\temp\tmpclhl94.py'
C:\Users\sallen\env\zopish\Scripts\python.exe -O c:\users\sallen\appdata\local\temp\tmpclhl94.py
removing c:\users\sallen\appdata\local\temp\tmpclhl94.py
running install_data
creating build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data
creating build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\data
creating build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\data\mx
creating build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\data\mx\ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\README -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\data\mx\O
DBC
creating build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\data\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\COPYRIGHT -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.dat
a\data\mx\ODBC\Windows
copying build\lib.win-amd64-2.7\mx\ODBC\LICENSE -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\data\mx\
ODBC
copying build\lib.win-amd64-2.7\mx\ODBC\Windows\LICENSE -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\
data\mx\ODBC\Windows
creating build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\data\mx\ODBC\Doc
copying build\lib.win-amd64-2.7\mx\ODBC\Doc\mxODBC.pdf -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\d
ata\mx\ODBC\Doc
copying build\lib.win-amd64-2.7\mx\ODBC\COPYRIGHT -> build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\data\m
x\ODBC
running install_egg_info
running egg_info
creating egenix_mxodbc.egg-info
writing requirements to egenix_mxodbc.egg-info\requires.txt
writing egenix_mxodbc.egg-info\PKG-INFO
writing namespace_packages to egenix_mxodbc.egg-info\namespace_packages.txt
writing top-level names to egenix_mxodbc.egg-info\top_level.txt
writing dependency_links to egenix_mxodbc.egg-info\dependency_links.txt
Copying egenix_mxodbc.egg-info to build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\egenix_mxodbc-3.3.4-py
2.7.egg-info
Installing build\bdist.win-amd64-py2.7\wheel\egenix_mxodbc-3.3.4.data\..\egenix_mxodbc-3.3.4-py2.7-nspkg.pth
running install_scripts
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\sallen\appdata\local\temp\pip-build-pyjbgb\egenix-mxodbc\setup.py", line 24, in <module>
mxSetup.run_setup(configurations)
File "mxSetup.py", line 6974, in run_setup
apply(setup, (), kws)
File "C:\Python27\Lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\Python27\Lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Users\sallen\env\zopish\lib\site-packages\wheel\bdist_wheel.py", line 213, in run
archive_basename = self.get_archive_basename()
File "C:\Users\sallen\env\zopish\lib\site-packages\wheel\bdist_wheel.py", line 161, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File "C:\Users\sallen\env\zopish\lib\site-packages\wheel\bdist_wheel.py", line 155, in get_tag
assert tag == supported_tags[0]
AssertionError
----------------------------------------
Failed building wheel for egenix-mxodbc
Failed to build egenix-mxodbc
Installing collected packages: egenix-mxodbc
Found existing installation: egenix-mxodbc 3.3.3
Uninstalling egenix-mxodbc-3.3.3:
Successfully uninstalled egenix-mxodbc-3.3.3
Running setup.py install for egenix-mxodbc
Successfully installed egenix-mxodbc-3.3.4
@sheilatron
Copy link
Author

After installation, mxODBC 3.3.4 does appear to be available within the virtualenv named "zopish"

(zopish) C:\Users\sallen\env\zopish\Lib>python
Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import mx.ODBC
mx.ODBC.version
'3.3.4'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment