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

'config' not found #1

Open
azainab opened this issue Aug 3, 2017 · 0 comments
Open

'config' not found #1

azainab opened this issue Aug 3, 2017 · 0 comments

Comments

@azainab
Copy link

azainab commented Aug 3, 2017

Hi,

I am trying to run the model and at the point "python run-flask.py" I am facing this error:

azainab:shakespeare-LSTM-master azain$ python run-flask.py
Traceback (most recent call last):
File "run-flask.py", line 2, in
from app.views import net
File "/Users/zuni/Documents/hbku/Research/shakespeare-LSTM-master/app/init.py", line 12, in
app.config.from_object('config')
File "/usr/local/lib/python2.7/site-packages/flask/config.py", line 168, in from_object
obj = import_string(obj)
File "/usr/local/lib/python2.7/site-packages/werkzeug/utils.py", line 443, in import_string
sys.exc_info()[2])
File "/usr/local/lib/python2.7/site-packages/werkzeug/utils.py", line 418, in import_string
import(import_name)
werkzeug.utils.ImportStringError: import_string() failed for 'config'. Possible reasons are:

  • missing init.py in a package;
  • package or module path not included in sys.path;
  • duplicated package or module name taking precedence in sys.path;
  • missing module, class, function or variable;

Debugged import:

  • 'config' not found.

Original exception:

ImportError: No module named config

Can anybody help please?

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

1 participant