Description of problem: Fail to install pyodbc in python app due to miss 'unixODBC-devel' package Version-Release number of selected component (if applicable): puddle [2.1.4/2014-07-28.1] How reproducible: 100% Steps to Reproduce: 1.Create an python app on optional node 2.Install pyodbc in the app #vim setup.py from setuptools import setup setup(name='YourAppName', version='1.0', description='OpenShift App', author='Your Name', author_email='example', url='http://www.python.org/sigs/distutils-sig/', install_requires=['pymongo','pyodbc'], 3.Deploy the app #git commit -amx && git push Actual results: Output: <--snip--> remote: In file included from /tmp/easy_install-4f1SU3/pyodbc-3.0.7/src/connection.cpp:12: remote: /tmp/easy_install-4f1SU3/pyodbc-3.0.7/src/pyodbc.h:52:17: error: sql.h: No such file or directory remote: /tmp/easy_install-4f1SU3/pyodbc-3.0.7/src/pyodbc.h:53:20: error: sqlext.h: No such file or directory remote: In file included from /tmp/easy_install-4f1SU3/pyodbc-3.0.7/src/connection.cpp:12: remote: /tmp/easy_install-4f1SU3/pyodbc-3.0.7/src/pyodbc.h:69: error: 'IsSet' declared as an 'inline' variable remote: /tmp/easy_install-4f1SU3/pyodbc-3.0.7/src/pyodbc.h:69: error: 'DWORD' was not declared in this scope <--snip--> Expected results: Install pyodbc successfully Additional info:
In most cases we would expect the admin to install the dependency. However, since this package ships in RHEL we could add it to the recommended dependencies metapackage for python. We actually already have it in the recommended-diy metapackage.
OpenShift Enterprise v2 has officially reached EoL. This product is no longer supported and bugs will be closed. Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3. https://www.openshift.com/container-platform/ More information can be found here: https://access.redhat.com/support/policy/updates/openshift/