Lusheng,



We wanted to verify our component spec files using dcae-cli, but unfortunately 
we were trapped by some problems when building the dcae-cli tool.




We tried two ways to install dcae-cli:




1. Using "python setup.py build" and then "python setup.py install" under the 
directory dcaegen2/platform/cli/dcae-cli. An error occured:

Installed /usr/local/lib/python2.7/dist-packages/dcae_cli-2.9.0-py2.7.egg

Processing dependencies for dcae-cli==2.9.0

Searching for python-dockering<2.0.0,>=1.0.0

Reading https://pypi.python.org/simple/python-dockering/

Couldn't find index page for 'python-dockering' (maybe misspelled?)

Scanning index of all packages (this may take a while)

Reading https://pypi.python.org/simple/

No local packages or download links found for python-dockering<2.0.0,>=1.0.0

error: Could not find suitable distribution for 
Requirement.parse('python-dockering<2.0.0,>=1.0.0')




I browsed https://pypi.python.org/simple/ and found nothing regarding 
python-dockering.




2. Using "pip install --extra-index-url 
https://nexus3.onap.org/repository/PyPi/simple dcae-cli" which is written in 
the DCAE document to install dcae-cli directly. Another error occured:



[root@localhost dcae-cli]# pip install --extra-index-url 
https://nexus3.onap.org/repository/PyPi/simple dcae-cli

Requirement already satisfied: dcae-cli in 
/usr/lib/python2.7/site-packages/dcae_cli-2.9.0-py2.7.egg

Collecting python-consul (from dcae-cli)

  Using cached python_consul-0.7.2-py2.py3-none-any.whl

Requirement already satisfied: six in /usr/lib/python2.7/site-packages (from 
dcae-cli)

Collecting sqlalchemy (from dcae-cli)

  Using cached SQLAlchemy-1.1.14.tar.gz

Collecting SQLAlchemy-Utils (from dcae-cli)

  Using cached SQLAlchemy-Utils-0.32.16.tar.gz

Requirement already satisfied: click in /usr/lib/python2.7/site-packages (from 
dcae-cli)

Collecting jsonschema (from dcae-cli)

  Using cached jsonschema-2.6.0-py2.py3-none-any.whl

Collecting docker-py<2,>=1.10 (from dcae-cli)

  Using cached docker_py-1.10.6-py2.py3-none-any.whl

Collecting terminaltables (from dcae-cli)

  Using cached terminaltables-3.1.0.tar.gz

Collecting psycopg2 (from dcae-cli)

  Using cached psycopg2-2.7.3.1-cp27-cp27mu-manylinux1_x86_64.whl

Collecting genson (from dcae-cli)

  Using cached genson-0.2.2.tar.gz

Collecting python-discovery-client>=2.0.0 (from dcae-cli)

  Could not find a version that satisfies the requirement 
python-discovery-client>=2.0.0 (from dcae-cli) (from versions: )

No matching distribution found for python-discovery-client>=2.0.0 (from 
dcae-cli)




Do you have any idea on how to fix the errors above? Is there any other 
approach to install the dcae-cli?








Guangrong
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to