Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import kubernetes_py as kubernetes ??? #2

Open
donfranio opened this issue Feb 22, 2019 · 3 comments · May be fixed by #3
Open

import kubernetes_py as kubernetes ??? #2

donfranio opened this issue Feb 22, 2019 · 3 comments · May be fixed by #3

Comments

@donfranio
Copy link

I had to change the first line in init.py from
import kubernetes
to
import kubernetes_py as kubernetes
to make it work.

I am running on debian with kubernetes, kubernetes_py and powerkube installed via pip in userspace.
My Colleague did the same on Linux mint and everything worked out of the box.

Why is that? Is there something to be fixed?

@epishan
Copy link

epishan commented May 7, 2019

second that. faced the same issue with powerline-lint showing error about the import error

@OhZedTee
Copy link

OhZedTee commented May 9, 2019

Third that, I believe this is a Python 3 issue. Now running into issues with:

Error while checking theme (key /segments/left/list item 7/function)
found highlight group context not defined in the following colorschemes: solarized, default
(If not specified otherwise in documentation, highlight group for function segments
is the same as the function name.)
  in "/Users/<REDACTED>/.config/powerline/themes/shell/default.json", line 32, column 40:
     ...          "function": "powerkube.context",

@epishan
Copy link

epishan commented May 10, 2019

@Ori78 try adding one extra line into your ~/.config/powerline/colorschemes/shell/default.json for 'context' highlight group:
"context": { "fg": "white", "bg": "gray6", "attrs": [] }

@rarguelloF rarguelloF linked a pull request May 10, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants