jina-ai / cookiecutter-jina

Cookiecutter template for a Jina project
Apache License 2.0
10 stars 3 forks source link

unknown exception: ImportError('Flask or its dependencies are not fully installed, they are required for serving HTTP requests.Please use pip install "jina[http]" to install it.') #17

Closed alexcg1 closed 4 years ago

alexcg1 commented 4 years ago

Problem python app.py index now seems to work okay. But running python app.py search results in:

unknown exception: ImportError('Flask or its dependencies are not fully installed, they are required for serving HTTP requests.Please use pip install "jina[http]" to install it.')

Why? flask not in requirements.txt and not showing when run pip list

alexcg1 commented 4 years ago

Running pip install jina[http] fixes the error

rutujasurve94 commented 4 years ago

This has been fixed and both indexing and querying work fine.