sse logserver can not start because of "flask" and "flask_cors" are missing
Closed this issue · 6 comments
Problem
python app.py index
fails with error message (errors.log)
Info
- I started this on a clean version of
my-first-jina-app
with nothing installed except fromrequirements.txt
- Looks like
jina[http]
doesn't include a few important things
Hey, there are extra requirements while using http it seems as per:
https://github.com/jina-ai/jina/blob/075108deaaac58297370d1448405029fb172b7e1/extra-requirements.txt
should we include this as well?
Yes, I think we should, since cookiecutter should create a full project out of the box (just the http
ones obviously. no need for audio
for example
flask and this requires user to install jina[devel]
, you can add a if-else branch in the cookiecutter.
I add this to readme
Sure, I had also added the extra-requirements to https://github.com/jina-ai/cookiecutter-jina/pull/19/files that include flask, etc.
This has been fixed and both indexing and querying work fine. Requirements are upto-date as well