I followed the README, but I'm stuck on this line:
MOA_CONFIG=config.DevelopmentConfig /usr/local/bin/pipenv run python -m moa.models
Actually I had to do:
MOA_CONFIG=config.DevelopmentConfig pipenv run python -m moa.models
I get this error:
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/jeroen/moa/moa/models.py", line 255, in <module>
config = getattr(importlib.import_module('config'), moa_config)
AttributeError: module 'config' has no attribute 'config.DevelopmentConfig'
System info:
Debian 10.6
Python 3.7.3
pipenv, version 2020.8.13
sqlite 3.27.2
I followed the README, but I'm stuck on this line:
MOA_CONFIG=config.DevelopmentConfig /usr/local/bin/pipenv run python -m moa.models
Actually I had to do:
MOA_CONFIG=config.DevelopmentConfig pipenv run python -m moa.models
I get this error:
System info:
Debian 10.6 Python 3.7.3 pipenv, version 2020.8.13 sqlite 3.27.2