when i try to run my project i get the error that says no module named flask

Mohamed Ahmed

when I try to run my project I get the following error and it says no module named flask I am using python 3.10 and it is the first time to get this error i used pywhatkit before and it worked

the error

File "D:\pythonProject\pypot\venv\lib\site-packages\pywhatkit\remotekit.py", line 6, in <module>
    from flask import Flask, request
ModuleNotFoundError: No module named 'flask'
Nathan

You need to install flask from https://pypi.org/

You can do so with the command: pip install flask

Or better, you create an virtual environnement and install flask in it

python -m venv myFlaskProject
.\myFlaskProject\Scripts\activate # windows
source ./myFlaskProject/bin/activate # MacOS, Linux
pip install flask

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

When I try to run my project on MAC terminal I get this error

I get a 'No module named 'alpha_vantage'' error when i try importing alpha_vantage on Spyder

When I run ./manage.py run server I get the error ImportError: No module named celery

I am new to Flutter, I try to run my project on Android Studio but I get an error in the console like:

Error when I try to execute a script: ImportError: No module named tools

I get an error when I try to install my project packages with npm i

Pycharm says No module named 'kivy' when I try to import it eventhough Kivy works on IDE

In my project I wrote with Angular, I get a 'Cannot Get' error when I run it

Why i get build error when i try to open my android studio project?

UnhandledPromiseRejectionWarning: Error: Cannot find module '../database/db' when i try to run my code

When I try to run my code with the "java" command in the cmd window, I get an error

In my POM structure, I get error ModuleNotFoundError: No module named 'pages'

When i try to create react project i get error

Lua: I get error when I try to run a script in Windows

I added *.aar to my project ,when I run it the project runs well but I get error when starting activity , how to solve it?

When I do Flask run, it shows error : ModuleNotFoundError: No module named 'werkzeug.contrib'. Can anyone help me with this?

Error Twig when I try to run Symfony 3 project on server

This Error will be shown when I'll try to run flutter project

I get error when i run My function in Logic App Designer , following the azure sample project documentation

When I try to sync my Gradle files I get an error

When i try to update my json file i get a error

When I run my code, i get a segfault, but when the debugger runs it, it says there is no issue

Why do I get the error "A valid Flask application was not obtained from..." when I use the flask cli to run my app?

When I try to export action with redux I get an error that says "does not contain a default export"

`gcloud app deploy` throws `No module named 'main'` when I move my main Flask python file into a module

I can't run my python code -> ModuleNotFoundError: No module named 'flask_sqlalchemy'

In an IntelliJ Kotlin project, when I try to run a java class, I get a "Could not find or load main class" error

i try to install flask on my windows cmd and i got UnicodeDecodeError when installing MarkupSafe module

Getting Error: 'No module named flask' in VSCode even when I have installed flask

TOP Ranking

  1. 1

    Failed to listen on localhost:8000 (reason: Cannot assign requested address)

  2. 2

    Loopback Error: connect ECONNREFUSED 127.0.0.1:3306 (MAMP)

  3. 3

    How to import an asset in swift using Bundle.main.path() in a react-native native module

  4. 4

    pump.io port in URL

  5. 5

    Compiler error CS0246 (type or namespace not found) on using Ninject in ASP.NET vNext

  6. 6

    BigQuery - concatenate ignoring NULL

  7. 7

    ngClass error (Can't bind ngClass since it isn't a known property of div) in Angular 11.0.3

  8. 8

    ggplotly no applicable method for 'plotly_build' applied to an object of class "NULL" if statements

  9. 9

    Spring Boot JPA PostgreSQL Web App - Internal Authentication Error

  10. 10

    How to remove the extra space from right in a webview?

  11. 11

    java.lang.NullPointerException: Cannot read the array length because "<local3>" is null

  12. 12

    Jquery different data trapped from direct mousedown event and simulation via $(this).trigger('mousedown');

  13. 13

    flutter: dropdown item programmatically unselect problem

  14. 14

    How to use merge windows unallocated space into Ubuntu using GParted?

  15. 15

    Change dd-mm-yyyy date format of dataframe date column to yyyy-mm-dd

  16. 16

    Nuget add packages gives access denied errors

  17. 17

    Svchost high CPU from Microsoft.BingWeather app errors

  18. 18

    Can't pre-populate phone number and message body in SMS link on iPhones when SMS app is not running in the background

  19. 19

    12.04.3--- Dconf Editor won't show com>canonical>unity option

  20. 20

    Any way to remove trailing whitespace *FOR EDITED* lines in Eclipse [for Java]?

  21. 21

    maven-jaxb2-plugin cannot generate classes due to two declarations cause a collision in ObjectFactory class

HotTag

Archive