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

Thanks.. #7

Open
pandan129 opened this issue Feb 14, 2017 · 3 comments
Open

Thanks.. #7

pandan129 opened this issue Feb 14, 2017 · 3 comments

Comments

@pandan129
Copy link

acdeMac-mini:~ mac$ export FLASK_APP=rmcontrol; python -m flask initdb
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 111, in _get_module_details
import(mod_name) # Do not catch exceptions initializing package
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Flask-0.12-py2.7.egg/flask/init.py", line 17, in
from werkzeug.exceptions import abort
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Werkzeug-0.11.15-py2.7.egg/werkzeug/init.py", line 152, in
import('werkzeug.exceptions')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Werkzeug-0.11.15-py2.7.egg/werkzeug/exceptions.py", line 71, in
from werkzeug.wrappers import Response
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Werkzeug-0.11.15-py2.7.egg/werkzeug/wrappers.py", line 26, in
from werkzeug.http import HTTP_STATUS_CODES,
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Werkzeug-0.11.15-py2.7.egg/werkzeug/http.py", line 28, in
from urllib.request import parse_http_list as _parse_list_header
ImportError: No module named request

@luketoh
Copy link

luketoh commented Feb 18, 2017

I think you need to run the command whilst in the rmcontrol folder

@ericmagnuson
Copy link
Owner

What version of python are you using?

@luketoh
Copy link

luketoh commented Feb 22, 2017

@pandan129 Also check that your folders and file permissions are correctly set for the rmcontrol folders and subfolders and files within.

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