I created and hosted my python flask script in apache, everything is fine. when I go to my ip in the browser I get this error msg.
`Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.`
and the apache
[Sun Feb 25 21:03:57.413129 2018] [wsgi:error] [pid 4536:tid 2972494656] [client 192.168.1.2:48610] ImportError: No module named flask
but flask is successfully installed in python3. I installed it using
pip3 install flask and if I run my flask file also running successfully,
But apache/wsgi referring python2 to run my script. please help me to resolve this. Thanks in advance!