Setup Error on MAC - Watson Python SDK

  • 19 Apr, 2018

Today i got the following error when i install watson python sdk on my MAC:

I use the command :  sudo pip install watson-developer-cloud

The exception was: Traceback (most recent call last): File “/Library/Python/2.7/site-packages/pip/basecommand.py”, line 215, in main status = self.run(options, args) File “/Library/Python/2.7/site-packages/pip/commands/install.py”, line 342, in run prefix=options.prefix_path, File “/Library/Python/2.7/site-packages/pip/req/req_set.py”, line 778, in install requirement.uninstall(auto_confirm=True) File “/Library/Python/2.7/site-packages/pip/req/req_install.py”, line 754, in uninstall paths_to_remove.remove(auto_confirm) File “/Library/Python/2.7/site-packages/pip/req/req_uninstall.py”, line 115, in remove renames(path, new_path) File “/Library/Python/2.7/site-packages/pip/utils/__init__.py”, line 267, in renames shutil.move(old, new) File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py”, line 299, in move copytree(src, real_dst, symlinks=True) File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py”, line 208, in copytree

Solving the problem:

sudo -H pip install –ignore-installed six watson-developer-cloud

After a few seconds:

Successfully built watson-developer-cloud Twisted zope.interface pycparser Installing collected packages: six, certifi, chardet, idna, urllib3, requests, python-dateutil, txaio, autobahn, setuptools, zope.interface, constantly, incremental, attrs, Automat, hyperlink, Twisted, pycparser, cffi, enum34, asn1crypto, ipaddress, cryptography, pyOpenSSL, pyasn1, pyasn1-modules, service-identity, watson-developer-cloud

Related Posts

IBM will begin sunsetting IBM Watson Personality Insights

  • 02 Dec, 2020

IBM will begin sunsetting IBM Watson™ Personality Insights on 1 December 2020. For a period of one year from this date, you will still be able to use Personality Insights. However, as of 1 December 20

IBM will begin sunsetting IBM Watson Personality InsightsRead More

IBM Watson Tutorials

  • 03 Jan, 2020

I found today this link https://ibmcloud-watson-day.mybluemix.net/. There are several tutorials about IBM Watson API's

IBM Watson TutorialsRead More

SSL Handshake error when connect to Watson API's

  • 01 Feb, 2018

I start a new java project on eclipse using the SDK for Watson. When i try to connect on any watson service i got the error: CWPKI0022E: SSL HANDSHAKE FAILURE: A signer with SubjectDN CN=.watsonplat

SSL Handshake error when connect to Watson API'sRead More