Pyodbc installation does not support python 3.5.1

I try to install pyodbc for a specific project, but unfortunately when I try to install, regardless of the command, I get the following error:

Command "/usr/local/bin/python3.5 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-vw5rz5_t/pyodbc/setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read()
.replace('\r\n', '\n'), __file__, 'exec'))" install --record
/tmp/pip-p5vfq2hq-record/install-record.txt --single-version-
externally-managed --compile" failed with error code 1 in 
/tmp/pip-build-vw5rz5_t/pyodbc/

Obviously, this error has already been reported here , and I fully understand that this is a python version dependency error. However, I tried to use many different approaches to solve this problem, including all attempts in the question and the following:

  • Initial Attempt:

    sudo pip3 install pyodbc
    
  • Installation in virtualenv (see here and here )

- python, python, python ? , python3.5, , virtualenv.

!

+4
2

.

, !

$ git clone https://github.com/mkleehammer/pyodbc.git
$ python3 setup.py build
# python3 setup.py install

unixodbc, pyobbc.

!

+2

marctrem , , unixodbc debian-, :

sudo apt-get install unixodbc-dev
sudo apt-get install unixodbc-bin

:

pip3 install pyodbc
+3

All Articles