ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 532 forks source link

ModuleNotFoundError: No module named 'flask' #440

Closed geekyouth closed 5 years ago

geekyouth commented 5 years ago

deepin@deepin-PC:/app/elk6.5/elasticsearch-HQ-3.4.1$ python3 application.py Traceback (most recent call last): File "application.py", line 5, in from elastichq import create_app File "/app/elk6.5/elasticsearch-HQ-3.4.1/elastichq/init.py", line 1, in from flask import Flask ModuleNotFoundError: No module named 'flask'

royrusso commented 5 years ago

Looks like you didn't install the requirements.

tanmarpaul commented 5 years ago

If you use python3 to start HQ you might also need to install the requirements with pip3 instead of pip.

(I know it's closed but this would have helped me more than "install the requirements")

royrusso commented 5 years ago

If you use python3 to start HQ you might also need to install the requirements with pip3 instead of pip.

(I know it's closed but this would have helped me more than "install the requirements")

That's fair. I've hesitated writing up a lengthy install doc, as the 2M downloads of the Docker image tells me more people are just opting for that and not dealing with all the wrangling of requirements and fighting different py versions.