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

Getting Error object has no attribute 'RbacAuthorizationV1beta1Api' #54

Open
mhobotpplnet opened this issue Feb 28, 2018 · 1 comment
Open

Comments

@mhobotpplnet
Copy link

Can't really say why this started happening all of the sudden. I do not remember updating/upgrading any python libs etc..
File "/usr/local/bin/kube-shell", line 11, in <module> load_entry_point('kube-shell==0.0.23', 'console_scripts', 'kube-shell')() File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 572, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 2755, in load_entry_point return ep.load() File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 2408, in load return self.resolve() File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 2414, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Library/Python/2.7/site-packages/kubeshell/main.py", line 6, in <module> from kubeshell.kubeshell import Kubeshell File "/Library/Python/2.7/site-packages/kubeshell/kubeshell.py", line 11, in <module> from kubeshell.lexer import KubectlLexer File "/Library/Python/2.7/site-packages/kubeshell/lexer.py", line 8, in <module> class KubectlLexer(RegexLexer): File "/Library/Python/2.7/site-packages/kubeshell/lexer.py", line 12, in KubectlLexer completer = KubectlCompleter() File "/Library/Python/2.7/site-packages/kubeshell/completer.py", line 21, in __init__ self.kube_client = KubernetesClient() File "/Library/Python/2.7/site-packages/kubeshell/client.py", line 28, in __init__ self.rbacApi = client.RbacAuthorizationV1beta1Api() AttributeError: 'module' object has no attribute 'RbacAuthorizationV1beta1Api'

@mhobotpplnet
Copy link
Author

Got it fixed.
pip uninstall kube-shell
then I installed it with pip3

That seem to work.

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

No branches or pull requests

1 participant