'Installing pyodbc kaggle

Going crazy here, just try to use pyodbc within kaggle. But getting error all the time

Internet is obviously switched on..

Error

thanks for your help



Solution 1:[1]

Try following commands:

sudo apt-get install unixodbc-dev

sudo apt-get install python-pip

pip install pyodbc

if that will not work, try

yum install unixODBC-devel

If still it is not working, read documentation : Installation of pyodbc

Solution 2:[2]

!sudo apt install --yes python3-pip python3-dev  unixodbc-dev 
!pip install pyodbc

It shows very long extraction, its up to you to make it better.

Ref:
1st. The documentation linked in Thyrus' answer.
2nd. how to say yes in kaggle https://www.kaggle.com/questions-and-answers/146938

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Thyrus
Solution 2 Ryan M