Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Cosmos
Description
Created question in FIWARE Q/A platform on 26-04-2015 at 13:04
Please, ANSWER this question AT http://stackoverflow.com/questions/29876888/fiware-run-cosmos-cli-error
Question:
Fiware - run Cosmos CLI error
Description:
Im trying to run code from
http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/BigData_Analysis_-_User_and_Programmer_Guide
And Im stuck at 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 everything under it)
creating /usr/lib/python2.6/site-packages/cosmos-0.16.0-py2.7.egg
Extracting cosmos-0.16.0-py2.7.egg to /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
\n'))
cosmos 0.16.0 is already the active version in easy-install.pth
Installing cosmos script to /usr/bin
Installed /usr/lib/python2.6/site-packages/cosmos-0.16.0-py2.7.egg
Processing dependencies for cosmos==0.16.0
Searching for cosmos==0.16.0
Reading http://pypi.python.org/simple/cosmos/
No local packages or download links found for cosmos==0.16.0
error: Could not find suitable distribution for Requirement.parse('cosmos==0.16.0')
But after that I realized that Im using image from conference and cosmos should be installed, so I run
- cosmos
And this is my system print out:
Traceback (most recent call last):
File "/usr/bin/cosmos", line 5, in <module>
from 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 to run cosmos properly ??
Activity
Fix Version/s | 2021 [ 12600 ] |
HD-Enabler | Cosmos [ 10872 ] | |
HD-Chapter | Data [ 10838 ] |
Summary | FIWARE.Question.Tech.Fiware - run Cosmos CLI error | FIWARE.Question.Tech.Data.BigData-Analysis.Fiware - run Cosmos CLI error |
Summary | FIWARE.Question.Tech.FIWARE.Question.Tech.Fiware - run Cosmos CLI error | FIWARE.Question.Tech.Fiware - run Cosmos CLI error |
Summary | FIWARE.Question.Tech.Fiware - run Cosmos CLI error | FIWARE.Question.Tech.FIWARE.Question.Tech.Fiware - run Cosmos CLI error |
Summary | [fiware-stackoverflow] Fiware - run Cosmos CLI error | FIWARE.Question.Tech.Fiware - run Cosmos CLI error |
Assignee | Francisco Romero [ frb ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |