I cannot seem to enable the bundled plugins on my Google Cloud VM Tutor instance.
When issuing the tutor plugins enable ecommerce (for example) command, I get:
XXXXXXXXXXXX:~$ tutor plugins enable ecommerce
Error applying action 'plugins:loaded:mfe': func=<function discover_package.<locals>.load at 0x7fd01edc9820> contexts=['plugins']'
⚠️ Failed to enable plugin 'mfe': (PyYAML 5.3.1 (/usr/lib/python3/dist-packages), Requirement.parse('pyyaml>=5.4.1'), {'kubernetes'})
Error applying action 'plugins:loaded:ecommerce': func=<function discover_package.<locals>.load at 0x7fd01edc9d30> contexts=['plugins']'
Traceback (most recent call last):
File "/home/matthew_petersen/.local/bin/tutor", line 8, in <module>
sys.exit(main())
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/tutor/commands/cli.py", line 24, in main
cli() # pylint: disable=no-value-for-parameter
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/click/decorators.py", line 38, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/tutor/commands/plugins.py", line 73, in enable
plugins.load(plugin)
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/tutor/plugins/__init__.py", line 91, in load
hooks.Actions.PLUGIN_LOADED(name).do()
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/tutor/hooks/actions.py", line 107, in do
self.do_from_context(None, *args, **kwargs)
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/tutor/hooks/actions.py", line 121, in do_from_context
callback.do(
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/tutor/hooks/actions.py", line 34, in do
self.func(*args, **kwargs)
File "/home/matthew_petersen/.local/lib/python3.8/site-packages/tutor/plugins/v1.py", line 77, in load
entrypoint.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2444, in load
self.require(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2467, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 792, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (PyYAML 5.3.1 (/usr/lib/python3/dist-packages), Requirement.parse('pyyaml>=5.4.1'), {'kubernetes'})
I’m a total newcomer to Linux admin, so any clues would be appreciated.
Matthew P