-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
The file/path provided (flaskr) does not appear to exist. #2058
Comments
cd .., if you have an issue with the docs please also quote the sentence that is false. |
have you done the |
I have a similar issues too.
Also, what does BTW, in the readme Anyway, I find this Flask very instructive, as a beginner, in its minimalism! |
I'm getting the same error in current examples/flaskr (see traceback above). This import statement: I mistakenly thought the absolute import was a fix here: #2051 |
@untitaker if you or anyone else get a chance, please take a look at this for me. in the meantime a fix would be the relative import. apologies to the author of #2051, that's what you proposed and I suggested an incorrect absolute import. i'm still puzzled why it's not working in this case. |
Thanks @wgwz for the quick temporary fix! |
was it solved? sorry i was python 2.7, it doesn't work wether with flaskr.flaskr or with .flaskr. |
for people coming across this thread, the examples repository is located here: https://github.com/pallets/flask/tree/master/examples/flaskr. It's tested on python2 and 3, and works on both. so @cwdy yes, it's been solved. and also, just as friendly note, you might want to post/search on SO for this. see for example: http://stackoverflow.com/questions/37908358. |
Thanks very much @wgwz for your answer. |
Is this issue fixed or still open? |
Yes it's fixed I think |
okay. I want to contribute in flask. Can you recommend any other begineer level issue. |
Those come to mind, although I might be underestimating the effort:
#2174
#1911
#941
#1877
There's also a lot of stuff in Werkzeug.
…On Tue, Feb 28, 2017 at 12:00:04PM -0800, Sonal Arora wrote:
okay. I want to contribute in flask. Can you recommend any other begineer level issue.
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#2058 (comment)
|
kool !! Thanks :) |
In my virtual envrionment and macbook, I met the same problem. it's the problem of command 'flask', my flask command is /usr/local/bin/flask (not using my virtualenv python and flask), use the command 'python -m flask run' instead 'flask run'. |
The issue tracker is a tool to address bugs.
Please use the #pocoo IRC channel on freenode or Stack Overflow for questions.
~/flask-master/examples/flaskr$ flask run
Usage: flask run [OPTIONS]
Error: The file/path provided (flaskr) does not appear to exist. Please verify the path is correct. If app is not on PYTHONPATH, ensure the extension is .py
The text was updated successfully, but these errors were encountered: