I installed MOE (cloned from git) using python (from conda environment).
Installation process was smooth, but when I am trying to launch the server using the commands mentioned in documentation. It raised the following error.
/usr/conda/bin/pserve --reload development.ini
Starting subprocess with file monitor
Traceback (most recent call last):
File "/usr/conda/bin/pserve", line 11, in
sys.exit(main())
File "/usr/conda/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 51, in main
return command.run()
File "/usr/conda/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 316, in run
global_conf=vars)
File "/usr/conda/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 340, in loadapp
return loadapp(app_spec, name=name, relative_to=relative_to, kw)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, _kw)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 271, in loadobj
global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context
global_additions=global_additions)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context
APP, pipeline[-1], global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 454, in get_context
section)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use
object_type, name=use, global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 406, in get_context
global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 328, in _loadegg
return loader.get_context(object_type, name, global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 620, in get_context
object_type, name=name)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 659, in find_egg_entry_point
for prot in protocol_options] or '(no entry points)'))))
_LookupError: Entry point 'main' not found in egg 'MOE' (dir: /usr/conda/lib/python2.7/site-packages; protocols: paste.app_factory, paste.composite_factory, paste.composit_factory; entry_points: )
Hi,
I installed MOE (cloned from git) using python (from conda environment).
Installation process was smooth, but when I am trying to launch the server using the commands mentioned in documentation. It raised the following error.
/usr/conda/bin/pserve --reload development.ini Starting subprocess with file monitor Traceback (most recent call last): File "/usr/conda/bin/pserve", line 11, in
sys.exit(main())
File "/usr/conda/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 51, in main
return command.run()
File "/usr/conda/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 316, in run
global_conf=vars)
File "/usr/conda/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 340, in loadapp
return loadapp(app_spec, name=name, relative_to=relative_to, kw)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, _kw)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 271, in loadobj
global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context
global_additions=global_additions)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context
APP, pipeline[-1], global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 454, in get_context
section)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use
object_type, name=use, global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 406, in get_context
global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
global_conf=global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 328, in _loadegg
return loader.get_context(object_type, name, global_conf)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 620, in get_context
object_type, name=name)
File "/usr/conda/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 659, in find_egg_entry_point
for prot in protocol_options] or '(no entry points)'))))
_LookupError: Entry point 'main' not found in egg 'MOE' (dir: /usr/conda/lib/python2.7/site-packages; protocols: paste.app_factory, paste.composite_factory, paste.composit_factory; entry_points: )
The ini file is same as in the repository.
Please help me resolve this issue,
Thanks!