Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'flask' #35

Open
CodingStukka opened this issue Jul 25, 2016 · 4 comments
Open

No module named 'flask' #35

CodingStukka opened this issue Jul 25, 2016 · 4 comments

Comments

@CodingStukka
Copy link

Running ubuntu 16.04 LTS and when i Run
python3 app.py
File "app.py " . line 3 , in
from flask import Flask , render_template
ImportError: No module named 'flask'

Yes i did run
pip -r requierments.txt

@KillianDavitt
Copy link

Possibly you have run pip2.x for python2 and will need to run pip3 to ensure the modules are installed for python3.

Not sure if this is the problem

@CodingStukka
Copy link
Author

Yup that solved the Problem, Thanks :)

It runs but now when I access it over the Browser i get a api.MoralityExecption
Something Wrong with my Facebook tokens?

@KillianDavitt
Copy link

When you open the page in your browser, you need to go back to the command line and answer the questions there. I think that's the problem.

@efraim-il
Copy link

efraim-il commented Dec 20, 2016

Codeweylin, can you please help me? I have the same issue

"Traceback (most recent call last):
File "app.py", line 3, in
from flask import Flask, render_template
ImportError: No module named 'flask"

Did sudo apt-get install python-pip + sudo apt-get install python3-pip and a few more but it didn't helped... :-(

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants