-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR on installing watson developer cloud #225
Comments
You first need to run |
@blacknred0 I tried |
@createsh and then you tried |
I'm having the same issues as well. I followed your instructions blacknred0 and I'm now getting this error after i type in 'sudo pip install watson-developer-cloud' OSError: [Errno 1] Operation not permitted: '/tmp/pip-sGIL81-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info' |
are you getting the same issue when you try to install other dependencies? |
Using the latest version of pip and setuptools I get this error when trying to install the module:
|
@Dkilpatrick31 Apparently it seems an issue with a package called six v1.4.1. Here is a bug that might have resurface where one of the packages attempts to uninstall it, but it doesn't have the proper permission to do so. Here is more info if you would like -> Six issue when installing package #3165. I just tested the install and went successfully with this command by ignoring the current six package with Here is my env Collecting six
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting watson-developer-cloud
Downloading watson-developer-cloud-0.26.1.tar.gz (66kB)
100% |████████████████████████████████| 71kB 267kB/s
Collecting requests<3.0,>=2.0 (from watson-developer-cloud)
Downloading requests-2.18.1-py2.py3-none-any.whl (88kB)
100% |████████████████████████████████| 92kB 435kB/s
Collecting pysolr<4.0,>=3.3 (from watson-developer-cloud)
Downloading pysolr-3.6.0-py2.py3-none-any.whl
Collecting pyOpenSSL>=16.2.0 (from watson-developer-cloud)
Downloading pyOpenSSL-17.1.0-py2.py3-none-any.whl (53kB)
100% |████████████████████████████████| 61kB 763kB/s
Collecting urllib3<1.22,>=1.21.1 (from requests<3.0,>=2.0->watson-developer-cloud)
Downloading urllib3-1.21.1-py2.py3-none-any.whl (131kB)
100% |████████████████████████████████| 133kB 632kB/s
Collecting idna<2.6,>=2.5 (from requests<3.0,>=2.0->watson-developer-cloud)
Downloading idna-2.5-py2.py3-none-any.whl (55kB)
100% |████████████████████████████████| 61kB 797kB/s
Collecting certifi>=2017.4.17 (from requests<3.0,>=2.0->watson-developer-cloud)
Downloading certifi-2017.4.17-py2.py3-none-any.whl (375kB)
100% |████████████████████████████████| 378kB 876kB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0,>=2.0->watson-developer-cloud)
Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB 1.2MB/s
Collecting cryptography>=1.9 (from pyOpenSSL>=16.2.0->watson-developer-cloud)
Downloading cryptography-1.9-cp27-cp27m-macosx_10_6_intel.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 544kB/s
Collecting ipaddress (from cryptography>=1.9->pyOpenSSL>=16.2.0->watson-developer-cloud)
Downloading ipaddress-1.0.18-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.9->pyOpenSSL>=16.2.0->watson-developer-cloud)
Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97kB)
100% |████████████████████████████████| 102kB 1.9MB/s
Collecting enum34 (from cryptography>=1.9->pyOpenSSL>=16.2.0->watson-developer-cloud)
Downloading enum34-1.1.6-py2-none-any.whl
Collecting cffi>=1.7 (from cryptography>=1.9->pyOpenSSL>=16.2.0->watson-developer-cloud)
Downloading cffi-1.10.0-cp27-cp27m-macosx_10_6_intel.whl (226kB)
100% |████████████████████████████████| 235kB 1.7MB/s
Collecting pycparser (from cffi>=1.7->cryptography>=1.9->pyOpenSSL>=16.2.0->watson-developer-cloud)
Downloading pycparser-2.18.tar.gz (245kB)
100% |████████████████████████████████| 256kB 1.5MB/s
Building wheels for collected packages: watson-developer-cloud, pycparser
Running setup.py bdist_wheel for watson-developer-cloud ... done
Stored in directory: /var/root/Library/Caches/pip/wheels/4e/58/1a/77ae16667b7a0ff82fb3d7dd6c4c615ede8e469803f31f79a7
Running setup.py bdist_wheel for pycparser ... done
Stored in directory: /var/root/Library/Caches/pip/wheels/95/14/9a/5e7b9024459d2a6600aaa64e0ba485325aff7a9ac7489db1b6
Successfully built watson-developer-cloud pycparser
Installing collected packages: six, urllib3, idna, certifi, chardet, requests, pysolr, ipaddress, asn1crypto, enum34, pycparser, cffi, cryptography, pyOpenSSL, watson-developer-cloud
Successfully installed asn1crypto-0.22.0 certifi-2017.4.17 cffi-1.10.0 chardet-3.0.4 cryptography-1.9 enum34-1.1.6 idna-2.5 ipaddress-1.0.18 pyOpenSSL-17.1.0 pycparser-2.18 pysolr-3.6.0 requests-2.18.1 six-1.10.0 urllib3-1.21.1 watson-developer-cloud-0.26.1 |
@createsh Did the advice from @blacknred0 solve your problem? |
@ehdsouza can you try to reproduce this? If you can, write a PR to update the README with the proposed fix and a link to this issue |
looks like the same issue happens even with
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;file='/tmp/pip-install-kNDN0u/Twisted/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-yGKXcN/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-kNDN0u/Twisted/ |
Hi everyone. I am running into this same issue.
and the import appears to work. I am having a new issue now after this:
I have no idea what this is ... |
When I try
pip install --upgrade watson-developer-cloud
i get permission denied, so i tried
sudo pip install --upgrade watson-developer-cloud
then i get
I updated pip and setuptools to the newest version, but still doesn't work.
Any clue?
The text was updated successfully, but these errors were encountered: