I am trying to to following:
from bs4 import BeautifulSoup
and got the error
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/admin/__init__.py", line 355, in post
exec(compiled_code, globals())
File "<string>", line 1, in <module>
ImportError: No module named bs4
How can I use it with Google App Engine runtime 2.7
?
Update
My project structure looks like
flask-appengine-template/
docs/
licenses/
src/
application/
static/
templates/
models.py
settings.py
urls.py
views.py
libs/
bs4/
app.yaml
src.py
I am using this template from here
Since parent of app.yaml
is src
, I added a file src.py
and added two lines there.
I still see the same error
ImportError: No module named bs4
However, my project name as per app.yaml
is flaskonappengine
Please tell me what is I am still doing wrong?