Home > database >  I was not able to import libraries in google colab
I was not able to import libraries in google colab

Time:12-26

what that mean when i get the below error in google colab ? File "", line 1

coding pyton in google colab and i was imorting the libraries and it give me this error

CodePudding user response:

Most likely you need to install the libraries before importing them. You can do this by using a different code cell. An example below for selenium:

!pip install selenium

Use this line and replace selenium with the library you need and run the code-cell. After this the code should run without errors.

CodePudding user response:

Fist of all, you need to show the Error you got. But maybe you haven't installed the Packages, that's why you got error while Importing. So you need to install the Packages using " pip install "

  • Related