zalando-zmon / zmon-kubernetes

Kubernetes Demo deployments and templates
14 stars 2 forks source link

Update README with python dependencies and how to install them #1

Closed jbellmann closed 8 years ago

jbellmann commented 8 years ago

When I tried to generate the configs I got the following errors.

Traceback (most recent call last):
  File "./zmon-k8s.py", line 3, in <module>
    import jinja2
ImportError: No module named 'jinja2'

I tried then:

pip install jinja2

but these deps where already installed:

Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /usr/local/lib/python2.7/site-packages (from jinja2)

How to fix this?

hjacobs commented 8 years ago

@jbellmann you probably need to run (we use Python 3):

pip3 install jinja2
jbellmann commented 8 years ago

Thanks, it works now.