Oct-09-2022, 11:08 PM
sorry, I used to use pycharm, and recall that it wants you to install through their interface.
likely the version of python being used by pycharm and the one available from cmd are different versions which would explain why it can't see openpyxl.
from cmd, you can (Not a windows guy, but assume it's the same) use
and
each version of python (usually) comes with it's own version of pip.
There are exceptions, for example Anaconda uses 'conda'
likely the version of python being used by pycharm and the one available from cmd are different versions which would explain why it can't see openpyxl.
from cmd, you can (Not a windows guy, but assume it's the same) use
pip -V
to get pip version,and
python -V
to get python version, then compare with the pycharm version and see if they are the same.each version of python (usually) comes with it's own version of pip.
There are exceptions, for example Anaconda uses 'conda'