Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ModuleNotFoundError: No module named 'kubernetes.dynamic' #1062

Closed
@myugan

Description

@myugan

What happened (please include outputs or screenshots):

Cannot execute script from example documentation for list pod.

Traceback (most recent call last):
  File "kube.py", line 1, in <module>
    from kubernetes import client, config
  File "/home/myuga/.local/lib/python3.8/site-packages/kubernetes/__init__.py", line 21, in <module>
    import kubernetes.dynamic
ModuleNotFoundError: No module named 'kubernetes.dynamic'

What you expected to happen:
module cannot load properly

How to reproduce it (as minimally and precisely as possible):

Environment:

  • Kubernetes version (kubectl version): v1.17.0
  • OS : Manjaro Linux
  • Python version : 3.8.1
  • Python client version (pip list | grep kubernetes)

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions