Exception has occurred: ModuleNotFoundError
No module named ‘quart’> File Path “C:xxxxxSxxxxxlNewProjectsxxxxmy_api_envapp.py”, line 3, in
from quart import Quart, request, jsonify, send_file, BeautifulSoup
ModuleNotFoundError: No module named ‘quart’
This above error is occuring when I run the app.py on VS code.
Also tried running it from CMD,
but here another error is occuring as mentioned below-
File “C:xxxxxSxxxxxlNewProjectsxxxxmy_api_envapp.py”, line 8, in
from bs4 import BeautifulSoup
ModuleNotFoundError: No module named ‘bs4’
Not sure what is that I’m missing here?
When I list for file/folder – it shows Quart with version 0.19. already in the dependency list.
Tried to build an Python API using Flask,
Was expecting that the API will perform/ run without any errors.
But it threw above mentioned errors.
so unable to proceed further.
Ruva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.