I am using Python 2.7 and am trying to run a program with openpyxl to work with xlsx files.
In the first line of code:
from openpyxl import Workbook
I get the following error when I run the program from the CMD:
ImportError: No module named openpyxl
I used pip to install version 2.6.0, and if I try to install it again through pip it just says I have the latest version.
Unlike any other question like this that I found here, I am using an IDE called PyCharm which has an option of running the program I am currently editing inside PyCharm, and PyCharm actually recognizes openpyxl and runs great, so why won't it work in the CMD?