You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
Getting error Python could not import the service's module Traceback (most recent call last): File "C:\pip_project\FlaskAsService\WinFlaskapp.py", line 1, in <module> from flask import Flask ModuleNotFoundError: No module named 'flask'
#100
Open
sumitkg86 opened this issue
Aug 3, 2021
· 0 comments
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: