Wednesday 2 August 2017

config not found | Shakesphere - LSTM | init_py_ error

Error:


from app.views import net
  File "/Users/zuni/Documents/hbku/Research/shakespeare-LSTM-master/app/__init__.py", line 9, in <module>
    app.config.from_object('config')

  File "/Users/zuni/miniconda2/lib/python2.7/site-packages/flask/config.py", line 168, in from_object

.....

- 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.

Solution:

No comments:

Post a Comment