I'm using Visual Studio Code to write a small script and part of it involves using dateutil to parse a string and see if a date exists. Very straight forward, but for some reason, import dateutil just doesn't work.
I've read around and I've tried every suggestion I've ran into
Making sure that
pip -Vandpython -Vcorrespond with the correct version of Python (Pip is v.3.10 and Python is v.3.10.5)Uninstalling and reinstalling dateutil via
pip uninstall python-dateutilandpip install python-dateutil. Tried bothpip install python-dateutilANDpip3 install python-dateutilafter I uninstalled and neither works.Doing all that AND restarting the IDE
Double checked to see if
pipwas added to my PATH variable properly (it is; echo %PATH% shows the correct directories)
I'm not sure why this is happening or what else I can try to do to resolve it