Installation libraries jupyter notebook

Asked

Viewed 1,401 times

-1

I’m trying to import the pandas in the notebook jupyter plus it gives me the following mistake:

import pandas as pd
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-3-7dd3504c366f> in <module>
----> 1 import pandas as pd
ModuleNotFoundError: No module named 'pandas'

I have tried also by Spyder and returns same error. Someone has already gone through it and if already as solved.

2 answers

1

This means that the pandas is not installed because they are trying to find his module.

You can use Pip:

pip install pandas

0

Two possible problems:
The * you are using. The correct is this way:

import pandas as pd

If * is just a typo or is only on the return of the error, you need to install the library.
Open Anaconda Prompt and type the following command:

pip install pandas

Browser other questions tagged

You are not signed in. Login or sign up in order to post.