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

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived