so0k / powerline-kubernetes

A Powerline segment to show your current Kubernetes context
MIT License
41 stars 19 forks source link

segment.py: pip3 installs kubernetes-py to "kubernetes_py", not "kubernetes" #7

Open dkrieger opened 5 years ago

dkrieger commented 5 years ago

the line that imports from kubernetes-py fails

frohman04 commented 5 years ago

If you add the requirement kubernetes-py<1.10.7, you can get things working. The import needs to be updated to be from kubernetes_py import K8sConfig to be compatible with kubernetes-py>=1.10.7.

mortenlj commented 4 years ago

I think this was fixed in #10, so this issue can probably be closed.