Installing pyodbc is straight forward but if getting "error: command 'gcc' failed with exit status 1" when installing pyodbc, make sure you have installed requirements as below.
sudo apt-get install unixODBC-dev g++
sudo apt-get install unixODBC-dev g++
pip install pyodbc
It doesn't work for me.
ReplyDeletecompilation terminated.
error: command 'gcc' failed with exit status 1
I think you may need also to install python-dev. make sure that have the build-essential as well.
ReplyDeletesudo apt-get install python-dev
sudo apt-get install build-essential