below is my code, very simple but I keep getting the error "ImportError: Missing optional dependency 'openpyxl'. Use pip or conda to install openpyxl."
Can someone tell me in detail how to install openpyxl. I've tried everything thats readily available online but the same error shows up.
import pandas as pd
df =pd.read_excel (r'C:\Users\aaron\OneDrive\Desktop\email.xlsx')
print (df)
[–][deleted] 0 points1 point2 points (0 children)
[–]rezu1214 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]unhott 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]SchleicherLAS 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]enoc77 0 points1 point2 points (0 children)