HariSekhon / DevOps-Python-tools

80+ DevOps & Data CLI Tools - AWS, GCP, GCF Python Cloud Functions, Log Anonymizer, Spark, Hadoop, HBase, Hive, Impala, Linux, Docker, Spark Data Converters & Validators (Avro/Parquet/JSON/CSV/INI/XML/YAML), Travis CI, AWS CloudFormation, Elasticsearch, Solr etc.
https://www.linkedin.com/in/HariSekhon
MIT License
772 stars 340 forks source link

Error in ambari_trigger_service_checks.py #3

Closed chitralverma closed 7 years ago

chitralverma commented 7 years ago

Im trying to execute ambari_trigger_service_checks.py but it is failing on line 44

Traceback (most recent call last): File "./ambari_trigger_service_checks.py", line 53, in <module> from harisekhon.utils import log, die, support_msg_api, code_error, isInt, isList, jsonpp ImportError: No module named harisekhon.utils

EDIT:: I got the utils.py from your other repo but im running into a lot of dependency issues.

Please assist me with this

HariSekhon commented 7 years ago

You haven't read the README on the main page underneath the code.

The build instructions say not to try to copy things out, just git clone and cd and run "make". It'll get all the dependencies for you automatically.

In that case you just haven't got the python requests module installed.

HariSekhon commented 7 years ago

I'm going to close this issue as this is simply a case of not having built the project as per the instructions on the main page in the README.md.

If you need you can re-open this issue is there is anything else (after you have read and followed the documented instructions! ;) )