pythontwistedibm-watsonwatson

Watson Developer Cloud & Twisted Install With Error Code 1


I am trying to connect to the Watson Developer Cloud API, and am having issues installing Watson Developer Cloud. I am using

pip install --upgrade "watson-developer-cloud>=1.2.1

The install gets hung up on the install of Twisted. I have tried pip install twisted and installing using "Twisted-17.9.0.tar.bz2" from the Twisted site.

https://twistedmatrix.com/trac/wiki/Downloads https://www.ibm.com/watson/developercloud/natural-language-classifier/api/v1/python.html?python

I have exhausted all my resources. Any ideas how to resolve the following error?

Error Code 1

Error


Solution

  • Are you by chance running in a VM? If you are, try installing it on a stand alone (not VM) machine.

    I had a similar issue trying to get Watson Developer going on a VM and it also stuck on the Twisted component - but i was able to take the (almost) same environment on a stand alone basis (not VM) and it installed.

    I assumed that I had somehow not configured the interface correctly (which is probably true) - but it installed on the stand alone without issue.