CorpusCallosum
CorpusCallosum

Reputation: 189

cannot import openpyxl to python on OSX

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 ?

Upvotes: 1

Views: 1443

Answers (1)

Adam Morris
Adam Morris

Reputation: 8545

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

Upvotes: 1

Related Questions