Python Forum

Full Version: Installed pip install openpyxl, Requirement already satisfied, but, still have error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I faced an error when trying to openpyxl. Thus, I install with pip install openpyxl. It was success.

Requirement already satisfied: openpyxl in c:\users\jonah\anaconda3\lib\site-packages (3.0.4)Note: you may need to restart the kernel to use updated packages.
Requirement already satisfied: et-xmlfile in c:\users\jonah\anaconda3\lib\site-packages (from openpyxl) (1.0.1)
Requirement already satisfied: jdcal in c:\users\jonah\anaconda3\lib\site-packages (from openpyxl) (1.4.1)

But, afterwhich, the same error still appear

---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-7-2ab2e58bdce2> in <module>
----> 1 import openpyx1 as op

ModuleNotFoundError: No module named 'openpyx1'

Please assist.
Is the module name correct? Is the last character meant to be a 1, or should it be an lowercase L?
You have a typo - openpyx1
it should be lowercase letter l - openpyxl
Thank you.