Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Failed building wheel for pyodbc
- Running setup.py clean for pyodbc
- Failed to build pyodbc
- Installing collected packages: pyodbc, django-pyodbc-azure, drf-extensions, psycopg2, funcsigs, pbr, mock, mockredispy, pyflakes, apipkg, execnet, py, pytest, pytest-cache, pytest-flakes, pep8, pytest-pep8, pytest-django, coverage, pytest-cov
- Running setup.py install for pyodbc ... error
- Complete output from command /home/k/Documents/dev/coldrun/venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-29u3_N/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-U4ljwi-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/k/Documents/dev/coldrun/venv/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/src
- x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPYODBC_VERSION=4.0.21 -I/usr/include/python2.7 -c src/errors.cpp -o build/temp.linux-x86_64-2.7/src/errors.o -Wno-write-strings
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- In file included from src/errors.cpp:2:0:
- src/pyodbc.h:56:10: fatal error: sql.h: No such file or directory
- #include <sql.h>
- ^~~~~~~
- compilation terminated.
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- Command "/home/k/Documents/dev/coldrun/venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-29u3_N/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-U4ljwi-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/k/Documents/dev/coldrun/venv/include/site/python2.7/pyodbc" failed with error code 1 in /tmp/pip-build-29u3_N/pyodbc/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement