Hi,
I am trying to use flask as windows service, for that i have created a virtual environment and install flask there and create a windows service and installed it on my VCSE machine.
But when i am trying to start that service getting the following error
Python could not import the service's module
Traceback (most recent call last):
File "C:\pip_project\FlaskAsService\WinFlaskapp.py", line 1, in
from flask import Flask
ModuleNotFoundError: No module named 'flask'
My Python and flask versions are:-
(env) C:\pip_project\FlaskAsService>flask --version
Python 3.8.7
Flask 2.0.1
Werkzeug 2.0.1
Any help would be highly appreciated.