Error al instalar pyodbc
eating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/tmp
creating build/temp.linux-x86_64-2.7/tmp/pip-build-43L665
creating build/temp.linux-x86_64-2.7/tmp/pip-build-43L665/pyodbc
creating build/temp.linux-x86_64-2.7/tmp/pip-build-43L665/pyodbc/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYODBC_VERSION=3.0.10 -DPYODBC_UNICODE_WIDTH=4 -DSQL_WCHART_CONVERT=1 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include -I/usr/include/python2.7 -c /tmp/pip-build-43L665/pyodbc/src/errors.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-build-43L665/pyodbc/src/errors.o -Wno-write-strings
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from /tmp/pip-build-43L665/pyodbc/src/errors.cpp:2:0:
/tmp/pip-build-43L665/pyodbc/src/pyodbc.h:52:17: fatal error: sql.h: No existe el archivo o el directorio
#include <sql.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for pyodbc
Running setup.py clean for pyodbc
Failed to build pyodbc
Installing collected packages: pyodbc
Running setup.py install for pyodbc ... error
Complete output from command /opt/archimex/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-43L665/pyodbc/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-MnyNYS-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/archimex/include/site/python2.7/pyodbc:
running install
running build
running build_ext
building 'pyodbc' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/tmp
creating build/temp.linux-x86_64-2.7/tmp/pip-build-43L665
creating build/temp.linux-x86_64-2.7/tmp/pip-build-43L665/pyodbc
creating build/temp.linux-x86_64-2.7/tmp/pip-build-43L665/pyodbc/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYODBC_VERSION=3.0.10 -DPYODBC_UNICODE_WIDTH=4 -DSQL_WCHART_CONVERT=1 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include -I/usr/include/python2.7 -c /tmp/pip-build-43L665/pyodbc/src/errors.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-build-43L665/pyodbc/src/errors.o -Wno-write-strings
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from /tmp/pip-build-43L665/pyodbc/src/errors.cpp:2:0:
/tmp/pip-build-43L665/pyodbc/src/pyodbc.h:52:17: fatal error: sql.h: No existe el archivo o el directorio
#include <sql.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/opt/archimex/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-43L665/pyodbc/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-MnyNYS-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/archimex/include/site/python2.7/pyodbc" failed with error code 1 in /tmp/pip-build-43L665/pyodbc
Al momento de instalar pyodbc en ubuntu 14.04
Se resolvio con: sudo apt-get install unixodbc-dev