cloudera / cm_api

Cloudera Manager API Client
Apache License 2.0
305 stars 284 forks source link

api_client ApiResource error #55

Open bindugh opened 7 years ago

bindugh commented 7 years ago

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 commented 7 years ago

can someone help in this..

Ranjandas commented 7 years ago

@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