cm_api icon indicating copy to clipboard operation
cm_api copied to clipboard

api_client ApiResource error

Open bindugh opened this issue 8 years ago • 2 comments

Hello All,

I am using python version 2.6.6 and cloudera/hadoop version 2.6.0-cdh5.8.2. Getting error "importerror no module named cm_api.api_client " from cm-api.api_client import ApiResource in line 2

Is there any version issues or what could be the reason ? Could someone please help.

bindugh avatar Jan 13 '17 10:01 bindugh

can someone help in this..

bindugh avatar Jan 16 '17 03:01 bindugh

@bindugh This could be possibly an installation issue and has nothing to do with the library as such.

Looks like you have a typo too. its cm_api and not cm-api

from cm_api.api_client import ApiResource

Ranjandas avatar Jan 20 '17 02:01 Ranjandas