:rocket: Powerful command line tool to download lynda.com courses for personal offline use. :part_alternation_mark:
MIT License
131
stars
32
forks
source link
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
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
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.