python/ r/ linux/ pyodbc/ rodbc

I installed the unixODBC-devel packages via yum. However, I get an error when I try to install RODBC / pyodbc

RODBC error

configure: error: "ODBC headers sql.h and sqlext.h not found"

pyodbc error

Command "/usr/bin/python -u -c "import setuptools, tokenize; file ='/tmp/pip-build-3ci8Au/pyodbc/setup.py';f=getattr(tokenize, 'open', open)( file );code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, file , 'exec'))" install --record /tmp/pip-m83SFn-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-3ci8Au/pyodbc/

My system is RHEL Linux version 2.6.32-573.el6.x86_64. Installed the packages as root. What am I missing here?

You need to install unixODBC-devel , I believe, before you can install RODBC or pyodbc.

sudo yum install unixODBC-devel

Good luck!

暂无
暂无

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

Related Question pyodbc installation issues on Mac customized installation of pyodbc Offline Installer for Visual Studio 14 for pyodbc package / offline pyodbc installation How to solve installation error of pyodbc on Ubunutu 20.04? Pyodbc installation failed inside Virtualenvs(Pycharm) pyodbc Installation Issue on Plone Python Path pandas pyodbc unicode issues u\2013 python bigfloat installation issues Python package installation issues python pandas installation issues
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM