Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Trying to install cloudera manager api through pip getting error.

Highlighted

Trying to install cloudera manager api through pip getting error.

Explorer

I had tried to pip install the cloudera manager api after having installed pip.

I executed the command 

pip install -vvv cmd-api and I tried it as well with sudo and received the same error.

 Here is a screen shot of the error I tried modifying my certificates thought might be a proxy related error but not sure. I am using python 2.6.6 any suggestions are greatly appreciated.

It still seems to have not installed.

Thanks

 failurepip.PNG

1 REPLY 1

Re: Trying to install cloudera manager api through pip getting error.

Explorer

I am now getting this errror when trying to execute this command.

from cm_api.api_client import ApiResource

 

Type "help", "copyright", "credits" or "license" for more information.
>>> from cm_api.api_client import ApiResource
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "cm_api.py", line 31, in <module>
hdlr = logging.FileHandler('/var/tmp/cm_api.log')
File "/usr/lib64/python2.6/logging/__init__.py", line 835, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.6/logging/__init__.py", line 854, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/var/tmp/cm_api.log'

 

 

Don't have an account?
Coming from Hortonworks? Activate your account here