ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jk Zheng <zjkh...@gmail.com>
Subject Questions regarding using ambari-python-shell
Date Tue, 13 Oct 2015 03:35:59 GMT
Hi,

I downloaded the source code to use ambari-python-shell.

import ambari_client.ambari_api

gives  "ImportError: No module named core.http_client

It seems that the package ambari_client has subpackages core and model.
But in setup.py only the ambari_client package is added.

I have no experience in python packaging, but still I'm wondering should
setup.py have the line

setup(
  packages = ['ambari_client', 'ambari_client.core', 'ambari_client.model'],
)

Regards,
Jiekai

Mime
View raw message