MJW
MJW

Reputation: 31

Install pyodbc on Colab using pip. I got an error

i got an error when installing pyodbc on colab. it works on my local. anything else i should do to resolve this?

enter image description here

Upvotes: 1

Views: 1891

Answers (1)

korakot
korakot

Reputation: 40888

You need both apt and pip to install pyodbc

!apt install unixodbc-dev
!pip install pyodbc

Then you can import it.

import pyodbc

Upvotes: 4

Related Questions