My python 2.7 script works on my Ubuntu system if I call it using
sudo python [filename].py
or from bash script using
sudo ./[bashscriptname].sh
But if I call it from Pycharm, I get oauth errors and from the command line
python [filename].py
throws an error in the line "import pandas":
ImportError: Missing required dependencies ['numpy', 'pytz']
I tried
But nothing works.
pip list
Shows all the necessary pandas, numpy, pytz, and oauth packages.
I have a noob who spent almost a day on this - help would be greatly appreciated!
source share