Failed to load entrypoint 'android = tutorandroid.plugin'


I am using the latest tutor (12.1.3). With it, I have successfully updated from the previous version.
But after installing android plugin (pip install tutor-android) tutor doesn’t work.

I’ve already made sure that I don’t have any other binary other than ~ / .local / bin / tutor

 Installing collected packages: tutor-android
 Successfully installed tutor-android-12.0.0
 ubuntu@edx:~$ tutor
 Failed to load entrypoint 'android = tutorandroid.plugin' from distribution tutor-android 12.0.0
 Traceback (most recent call last):
   File "/home/ubuntu/.local/bin/tutor", line 8, in <module>
   File "/home/ubuntu/.local/lib/python3.8/site-packages/tutor/commands/", line 29, in main
   File "/home/ubuntu/.local/lib/python3.8/site-packages/tutor/commands/", line 141, in add_plugin_commands
     for plugin in plugins.iter_installed():
   File "/home/ubuntu/.local/lib/python3.8/site-packages/tutor/", line 401, in iter_installed
     yield from Plugins.iter_installed()
   File "/home/ubuntu/.local/lib/python3.8/site-packages/tutor/", line 362, in iter_installed
     for plugin in PluginClass.iter_installed():
   File "/home/ubuntu/.local/lib/python3.8/site-packages/tutor/", line 199, in iter_installed
     for plugin in cls.iter_load():
   File "/home/ubuntu/.local/lib/python3.8/site-packages/tutor/", line 233, in iter_load
     yield cls(entrypoint)
   File "/home/ubuntu/.local/lib/python3.8/site-packages/tutor/", line 220, in __init__
     super().__init__(, entrypoint.load())
   File "/usr/lib/python3/dist-packages/pkg_resources/", line 2444, in load
     self.require(*args, **kwargs)
   File "/usr/lib/python3/dist-packages/pkg_resources/", line 2467, in require
     items = working_set.resolve(reqs, env, installer, extras=self.extras)
   File "/usr/lib/python3/dist-packages/pkg_resources/", 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'})
> ubuntu@edx:~$

By the way, I am confused that tutor-openedx also appeared in the list of packages after installing tutor-android:

ubuntu@edx:~$ pip list
tutor                  12.1.3
tutor-android          12.0.0
tutor-openedx          12.1.3

I changed the installation method to the recommended one. This solved my problem.

For the record, you should be able to pip-install tutor by first upgrading Pyyaml:

pip install --user --upgrade pyyaml

I don’t know exactly why tutor-openedx is installed in your environment. It is no longer a dependency of tutor-android since v12.0.0. You are free to uninstall it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.