I had to reinstall VS code a bit ago and that ended up breaking my ability to use libraries since it just returns a ModuleNotFoundError even if I have the library installed and even if I reinstall them. Libraries like sys, time, datetime, and socket work though. Installing the code runner extension fixed this by letting me use libraries again but I now cannot use inputs with code runner’s output. Checking the run in terminal option allows input but I again cannot use my libraries.
Uninstalling code runner breaks the libraries but allows input. Run in terminal allows input but breaks libraries. I might just be missing something to install but I have no idea what that might be. Using ‘run as python file’ will return ModuleNotFoundError no matter what is turned on or installed.
lostdlc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.