Skip to content
Advertisement

pyodbc legacy-install-failure in ubuntu python 3.9

I am not being able to install pyodbc

Sorry for the image, but it is on a private network and it does not allow me to do a copy-paste

enter image description here

enter image description here

I saw solutions like this, but it is for windows. I can’t downgrade my python 3.9 either. Do you know a solution for this pyodbc installing?

Advertisement

Answer

Had the same issue on Python 3.9. Running the following command solved it for me:

sudo apt install unixodbc-dev
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement