I wrote a script to call an API and ran it successfully last week. This week, it won\'t run. I get back the following error message:
Traceback (most recent call
Few minutes back, I faced the same issue. And this was because, I used virtual environment. I believe that due to venv directory, the pip installed might have stopped working.
Fortunately, I have setup downloaded in my directory. I ran the setup and chose the option to repair, and now, everything works fine.