I'm having problems running scripts that reference pandas when I use Pycharm, but when I run the python scripts on the command line, then it all works fine.
For example, I have a basic test program which has nothing more than this :
import pandas
print ('Hello')
In Pycharm I get this error msg (see attachment).
My Python version is 3.8, and my Pycharm version is in the attachment.
I can successfully run this from the command line as follows :
C:\Users\hsdhi\PycharmProjects\pythonProject>python aa.py
Hello
....and under this structure I have a pandas directory.
I suspect that my version of Pycharm is somehow out of sync with the pandas. I've removed and reinstalled pandas many times but get the same error.
All advice greatly appreciated.
For example, I have a basic test program which has nothing more than this :
import pandas
print ('Hello')
In Pycharm I get this error msg (see attachment).
My Python version is 3.8, and my Pycharm version is in the attachment.
I can successfully run this from the command line as follows :
C:\Users\hsdhi\PycharmProjects\pythonProject>python aa.py
Hello
....and under this structure I have a pandas directory.
I suspect that my version of Pycharm is somehow out of sync with the pandas. I've removed and reinstalled pandas many times but get the same error.
All advice greatly appreciated.