Question

I use easy_install to install the openpyxl and it was successfully installed. However when i tried to import it by usin from openpyxml import Workbook command, pycharm did not recognized it. It saus unresolved reference.

Could you help me on this ?

Was it helpful?

Solution

In your comment, you've got an extra m in your openpxyl, and you're missing the workbook module.

Try:

from openpyxl.workbook import Workbook
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top