Fiware - run Cosmos CLI error -


im trying run code http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/bigdata_analysis_-_user_and_programmer_guide

and im stuck @ line

"easy_install https://forge.fi-ware.org/frs/download.php/1309/cosmos-0.16.0-py2.7.egg"

system print out:

downloading https://forge.fi-ware.org/frs/download.php/1309/cosmos-0.16.0-py2.7.egg processing cosmos-0.16.0-py2.7.egg removing '/usr/lib/python2.6/site-packages/cosmos-0.16.0-py2.7.egg' (and under it) creating /usr/lib/python2.6/site-packages/cosmos-0.16.0-py2.7.egg extracting cosmos-0.16.0-py2.7.egg /usr/lib/python2.6/site-packages syntaxerror: ('invalid syntax', ('/usr/lib/python2.6/site-packages/cosmos-0.16.0-py2.7.egg/cosmos/cli/command_util.py', 145, 20, '    return {k: v k, v in json.iteritems() if k not in filter_keys}\n'))  cosmos 0.16.0 active version in easy-install.pth installing cosmos script /usr/bin  installed /usr/lib/python2.6/site-packages/cosmos-0.16.0-py2.7.egg processing dependencies cosmos==0.16.0 searching cosmos==0.16.0 reading http://pypi.python.org/simple/cosmos/ no local packages or download links found cosmos==0.16.0 error: not find suitable distribution requirement.parse('cosmos==0.16.0') 

but after realized im using image conference , cosmos should installed, run

# cosmos 

and system print out:

traceback (most recent call last):   file "/usr/bin/cosmos", line 5, in <module>     pkg_resources import load_entry_point   file "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>     working_set.require(__requires__)   file "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require     needed = self.resolve(parse_requirements(requirements))   file "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve     raise distributionnotfound(req) pkg_resources.distributionnotfound: requests 

how run cosmos ??

in order access deployed hadoop-like cosmos instance in fiware lab don't need cosmos cli; that's intended create new clusters on demand on hadoop-as-a-service-like cosmos deployment, not case of fiware lab one.

simply go here , create cosmos account using fiware lab credentials. then, follow steps pointed in web.

regarding cosmos documentation, please ignore first sections until section 2.3.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -