0

Folks, i am trying open a .xlsx doc on spyder using:

import pandas as pd

df = pd.read_excel (r'C:\Users\lucas.francklin\Desktop\Programação\LM automatica\Teste.xlsx') 
print (df)

them it give me:

Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd

I tried :

pip install xlrd and !pip install xlrd

it give me:

Note: you may need to restart the kernel to use updated packages.

C:\Users\lucas.francklin\AppData\Local\Programs\Spyder\Python\python.exe: No module named pip

what can i do?

0 Answers0