You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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:
Debugged import:
Original exception:
ImportError: No module named config
Can anybody help please?
The text was updated successfully, but these errors were encountered: