-
Notifications
You must be signed in to change notification settings - Fork 3.3k
ModuleNotFoundError: No module named 'kubernetes.dynamic' #1062
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
Comments
I have the same error here as well. |
The error was solved by uninstall kubernetes from pip3 and reinstall using |
Because this adds a new symbolic link (and we did not support importing from base.dynamic directly), I think reinstalling the package is needed. |
I think it's a bug fix that hasn't been released yet. In 11.0.0b2 we still don't have #1035 included. On a side note, @micw523 do you know why we didn't add kubernetes.dynamic to setup.py? Lines 60 to 63 in 073cf4d
|
Ah... I think I simply forgot. That might be the reason why. |
The fixes will be included in the upcoming 11.0.0 release #1097 |
Closing the issue as 11.0.0 has been released. Please reopen if you hit any issue /close |
@roycaihw: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened (please include outputs or screenshots):
Cannot execute script from example documentation for list pod.
What you expected to happen:
module cannot load properly
How to reproduce it (as minimally and precisely as possible):
Environment:
kubectl version
): v1.17.0pip list | grep kubernetes
)The text was updated successfully, but these errors were encountered: