question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error of "ModuleNotFoundError: No module named 'flask'" when installing

See original GitHub issue

Please follow the guide below

  • You will be asked some question, please read them carefully
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run git pull to update your version from Lyndor directory

Before submitting an issue make sure you have:

  • At least skimmed through the README

What is the purpose of your issue?

  • Bug report (encountered problems with Lyndor) 🪲
  • Feature request (request for a new functionality) ☝️
  • Question ❓ unable to open the setting page
  • Other

If the purpose of this issue is a bug report, or you are not completely sure then provide the full terminal output as follows:

Copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

python settings/settings.py
Traceback (most recent call last):
  File "settings/settings.py", line 6, in <module>
    from flask import Flask, request, jsonify, render_template
ModuleNotFoundError: No module named 'flask'


Answer questions related to your Environment which will help in reproducing the issue:

The issue was encountered on: 💻

  • [x ] MacOS
  • Windows
  • Linux

Login method:

  • Regular login (username + password)
  • Organization login (cookies.txt)
  • cookies.txt + Library login(for exercise file)

Enter the python version you are using for download. Find your python version by typing in terminal python -V

  • python (3.6)

If the purpose of this issue is a bug report please provide all kinds of example URLs where you encountered issues (replace following example URLs by yours):


Description of your issue, suggested a solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
ankit3110commented, Sep 7, 2020

@saksham1709 close all the applications and restart the computer. sometime it doesn’t read the flask.

3reactions
ankit3110commented, Aug 6, 2020

Hi i am facing an issue over here ModuleNotFoundError: No module named ‘flask’

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flask ImportError: No Module Named Flask - Stack Overflow
Go to the flask file in microblog, then activate the virtual environment with source bin/activate , then ...
Read more >
[Fixed] ModuleNotFoundError: No module named 'flask' - Finxter
How to Fix “ModuleNotFoundError: No module named 'flask'” in PyCharm · Open File > Settings > Project from the PyCharm menu. · Select...
Read more >
ModuleNotFoundError: No module named flask, simple fix!
The most common reason for this error is that the flask package is not installed in your environment or an outdated version is...
Read more >
Importerror no module named flask : Know How to Fix ?
Importerror: no module named flask error comes when the python interpreter does not have a flask package ( Install in the host machines...
Read more >
[SOLVED] How to Fix ImportError No module named 'flask ...
Import Error is the most common error you will encounter in the python programming, especially if you are new to python. The error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found