ModuleNotFoundError: No module named 'flask_wtf' in python The Next CEO of Stack OverflowSublime text3 and virtualenvsWhy is “1000000000000000 in range(1000000000000001)” so fast in Python 3?ImportError: No module named flask_wtfvirtual environment not importing packages from virtual environment site-packages in Python 3.6.4ModuleNotFoundError: No module named 'PyQt5.QtWebEngineView'ImportError with flask_wtf on Raspberry PI 3ModuleNotFoundError: No module named 'sqlalchemy'ModuleNotFoundError: No module named 'pytesseract'ModuleNotFoundError: No module named 'new'ModuleNotFoundError: No module named 'quantmod.theming'ModuleNotFoundError: No module named 'pystruct.models.utils'

The exact meaning of 'Mom made me a sandwich'

Writing differences on a blackboard

Find non-case sensitive string in a mixed list of elements?

Solving system of ODEs with extra parameter

Won the lottery - how do I keep the money?

How to invert MapIndexed on a ragged structure? How to construct a tree from rules?

Legal workarounds for testamentary trust perceived as unfair

Why do airplanes bank sharply to the right after air-to-air refueling?

INSERT to a table from a database to other (same SQL Server) using Dynamic SQL

Does soap repel water?

How to prove a simple equation?

Is micro rebar a better way to reinforce concrete than rebar?

What was the first Unix version to run on a microcomputer?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Method for adding error messages to a dictionary given a key

Are police here, aren't itthey?

Does increasing your ability score affect your main stat?

How to get from Geneva Airport to Metabief, Doubs, France by public transport?

0 rank tensor vs 1D vector

Do I need to write [sic] when a number is less than 10 but isn't written out?

What happened in Rome, when the western empire "fell"?

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Where do students learn to solve polynomial equations these days?

What connection does MS Office have to Netscape Navigator?



ModuleNotFoundError: No module named 'flask_wtf' in python



The Next CEO of Stack OverflowSublime text3 and virtualenvsWhy is “1000000000000000 in range(1000000000000001)” so fast in Python 3?ImportError: No module named flask_wtfvirtual environment not importing packages from virtual environment site-packages in Python 3.6.4ModuleNotFoundError: No module named 'PyQt5.QtWebEngineView'ImportError with flask_wtf on Raspberry PI 3ModuleNotFoundError: No module named 'sqlalchemy'ModuleNotFoundError: No module named 'pytesseract'ModuleNotFoundError: No module named 'new'ModuleNotFoundError: No module named 'quantmod.theming'ModuleNotFoundError: No module named 'pystruct.models.utils'










1















I'm new to python so please be patient if i ask a silly question.
I am trying to use flask wtf class as seen in a tutorial.
My first line of the program is
from flask_wtf import FlaskForm



It gives me the error ModuleNotFoundError: No module named 'flask_wtf'
I have followed the following steps to make sure i have activated the virtual environment and flask wtf was installed in the virtual environment and not global.



Step 1: Went to the virtual environment and activated the environment C:UsersShraddhaPycharmProjectsFlaskProjectvenvscripts activate



Step 2: Installed flask wtf
C:UsersShraddhaPycharmProjectsFlaskProjectvenvscripts pip install flask-wtf



I see that flask-wtf is installed correctly in the folder C:UsersShraddhaPycharmProjectsFlaskProjectvenvLibsite-packages



However when i try to run it using command prompt it does not give me anything and when i try to run it using sublime text it gives me ModuleNotFoundError: No module named 'flask_wtf' error.



I know this is a flask_wtf import error because other programs are executing as expected. Any help ? enter image description here










share|improve this question






















  • I am guessing that sublime text is accessing global packages, not the packages you have installed in venv. From where are you running your sublime?

    – Justice_Lords
    Mar 8 at 16:34











  • Im not sure , I installed sublime text editor, and opened the file located in the virtual env, so i am assuming sublime is pointing correctly because it ran another program correctly. I think sublime is not able to recognize flask-wtf packages for some reason

    – Anup
    Mar 8 at 17:03











  • you have a native python installation on your drive somewhere and then you have virtual python installations in each of your virtual environment folders. When you execute a python script the software needs to be instructed which python installation to choose. Just because the executable file is in one directory does not mean the python installation in that folder will be used - that is a bad assumption and likely your error

    – Attack68
    Mar 10 at 6:49











  • try here stackoverflow.com/questions/24963030/…

    – Attack68
    Mar 10 at 6:52















1















I'm new to python so please be patient if i ask a silly question.
I am trying to use flask wtf class as seen in a tutorial.
My first line of the program is
from flask_wtf import FlaskForm



It gives me the error ModuleNotFoundError: No module named 'flask_wtf'
I have followed the following steps to make sure i have activated the virtual environment and flask wtf was installed in the virtual environment and not global.



Step 1: Went to the virtual environment and activated the environment C:UsersShraddhaPycharmProjectsFlaskProjectvenvscripts activate



Step 2: Installed flask wtf
C:UsersShraddhaPycharmProjectsFlaskProjectvenvscripts pip install flask-wtf



I see that flask-wtf is installed correctly in the folder C:UsersShraddhaPycharmProjectsFlaskProjectvenvLibsite-packages



However when i try to run it using command prompt it does not give me anything and when i try to run it using sublime text it gives me ModuleNotFoundError: No module named 'flask_wtf' error.



I know this is a flask_wtf import error because other programs are executing as expected. Any help ? enter image description here










share|improve this question






















  • I am guessing that sublime text is accessing global packages, not the packages you have installed in venv. From where are you running your sublime?

    – Justice_Lords
    Mar 8 at 16:34











  • Im not sure , I installed sublime text editor, and opened the file located in the virtual env, so i am assuming sublime is pointing correctly because it ran another program correctly. I think sublime is not able to recognize flask-wtf packages for some reason

    – Anup
    Mar 8 at 17:03











  • you have a native python installation on your drive somewhere and then you have virtual python installations in each of your virtual environment folders. When you execute a python script the software needs to be instructed which python installation to choose. Just because the executable file is in one directory does not mean the python installation in that folder will be used - that is a bad assumption and likely your error

    – Attack68
    Mar 10 at 6:49











  • try here stackoverflow.com/questions/24963030/…

    – Attack68
    Mar 10 at 6:52













1












1








1








I'm new to python so please be patient if i ask a silly question.
I am trying to use flask wtf class as seen in a tutorial.
My first line of the program is
from flask_wtf import FlaskForm



It gives me the error ModuleNotFoundError: No module named 'flask_wtf'
I have followed the following steps to make sure i have activated the virtual environment and flask wtf was installed in the virtual environment and not global.



Step 1: Went to the virtual environment and activated the environment C:UsersShraddhaPycharmProjectsFlaskProjectvenvscripts activate



Step 2: Installed flask wtf
C:UsersShraddhaPycharmProjectsFlaskProjectvenvscripts pip install flask-wtf



I see that flask-wtf is installed correctly in the folder C:UsersShraddhaPycharmProjectsFlaskProjectvenvLibsite-packages



However when i try to run it using command prompt it does not give me anything and when i try to run it using sublime text it gives me ModuleNotFoundError: No module named 'flask_wtf' error.



I know this is a flask_wtf import error because other programs are executing as expected. Any help ? enter image description here










share|improve this question














I'm new to python so please be patient if i ask a silly question.
I am trying to use flask wtf class as seen in a tutorial.
My first line of the program is
from flask_wtf import FlaskForm



It gives me the error ModuleNotFoundError: No module named 'flask_wtf'
I have followed the following steps to make sure i have activated the virtual environment and flask wtf was installed in the virtual environment and not global.



Step 1: Went to the virtual environment and activated the environment C:UsersShraddhaPycharmProjectsFlaskProjectvenvscripts activate



Step 2: Installed flask wtf
C:UsersShraddhaPycharmProjectsFlaskProjectvenvscripts pip install flask-wtf



I see that flask-wtf is installed correctly in the folder C:UsersShraddhaPycharmProjectsFlaskProjectvenvLibsite-packages



However when i try to run it using command prompt it does not give me anything and when i try to run it using sublime text it gives me ModuleNotFoundError: No module named 'flask_wtf' error.



I know this is a flask_wtf import error because other programs are executing as expected. Any help ? enter image description here







python-3.x flask-wtforms






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 16:11









AnupAnup

425




425












  • I am guessing that sublime text is accessing global packages, not the packages you have installed in venv. From where are you running your sublime?

    – Justice_Lords
    Mar 8 at 16:34











  • Im not sure , I installed sublime text editor, and opened the file located in the virtual env, so i am assuming sublime is pointing correctly because it ran another program correctly. I think sublime is not able to recognize flask-wtf packages for some reason

    – Anup
    Mar 8 at 17:03











  • you have a native python installation on your drive somewhere and then you have virtual python installations in each of your virtual environment folders. When you execute a python script the software needs to be instructed which python installation to choose. Just because the executable file is in one directory does not mean the python installation in that folder will be used - that is a bad assumption and likely your error

    – Attack68
    Mar 10 at 6:49











  • try here stackoverflow.com/questions/24963030/…

    – Attack68
    Mar 10 at 6:52

















  • I am guessing that sublime text is accessing global packages, not the packages you have installed in venv. From where are you running your sublime?

    – Justice_Lords
    Mar 8 at 16:34











  • Im not sure , I installed sublime text editor, and opened the file located in the virtual env, so i am assuming sublime is pointing correctly because it ran another program correctly. I think sublime is not able to recognize flask-wtf packages for some reason

    – Anup
    Mar 8 at 17:03











  • you have a native python installation on your drive somewhere and then you have virtual python installations in each of your virtual environment folders. When you execute a python script the software needs to be instructed which python installation to choose. Just because the executable file is in one directory does not mean the python installation in that folder will be used - that is a bad assumption and likely your error

    – Attack68
    Mar 10 at 6:49











  • try here stackoverflow.com/questions/24963030/…

    – Attack68
    Mar 10 at 6:52
















I am guessing that sublime text is accessing global packages, not the packages you have installed in venv. From where are you running your sublime?

– Justice_Lords
Mar 8 at 16:34





I am guessing that sublime text is accessing global packages, not the packages you have installed in venv. From where are you running your sublime?

– Justice_Lords
Mar 8 at 16:34













Im not sure , I installed sublime text editor, and opened the file located in the virtual env, so i am assuming sublime is pointing correctly because it ran another program correctly. I think sublime is not able to recognize flask-wtf packages for some reason

– Anup
Mar 8 at 17:03





Im not sure , I installed sublime text editor, and opened the file located in the virtual env, so i am assuming sublime is pointing correctly because it ran another program correctly. I think sublime is not able to recognize flask-wtf packages for some reason

– Anup
Mar 8 at 17:03













you have a native python installation on your drive somewhere and then you have virtual python installations in each of your virtual environment folders. When you execute a python script the software needs to be instructed which python installation to choose. Just because the executable file is in one directory does not mean the python installation in that folder will be used - that is a bad assumption and likely your error

– Attack68
Mar 10 at 6:49





you have a native python installation on your drive somewhere and then you have virtual python installations in each of your virtual environment folders. When you execute a python script the software needs to be instructed which python installation to choose. Just because the executable file is in one directory does not mean the python installation in that folder will be used - that is a bad assumption and likely your error

– Attack68
Mar 10 at 6:49













try here stackoverflow.com/questions/24963030/…

– Attack68
Mar 10 at 6:52





try here stackoverflow.com/questions/24963030/…

– Attack68
Mar 10 at 6:52












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55066965%2fmodulenotfounderror-no-module-named-flask-wtf-in-python%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55066965%2fmodulenotfounderror-no-module-named-flask-wtf-in-python%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page