[Tutor] openpyxl module not recognized
Casey McGonigle
cmcgon at berkeley.edu
Tue Jan 7 06:00:41 EST 2020
Hello,
I'm working on a project using pandas DataFrames that I'd like to export to
excel. I'm using Mac OS Mojave. I understand the way to do this is through
the df.to_excel() function, which requires the openpyxl module.
As such, I've installed the module (using pip install openpyxl) -- my
terminal tells me it was successfully installed and it shows up in my
finder.
However, when I run the df.to_excel("excel file") function, I get a
ModuleNotFoundError: No module named 'openpyxl'.
Please advise how to remedy this incongruity
--
UC Berkeley
Class of 2021
More information about the Tutor
mailing list