Thursday, September 28, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  8] [ 0]  / answers: 1 / hits: 2127  / 2 Years ago, thu, october 7, 2021, 2:53:16

Subliminal gives this error in Ubuntu 18.04

Traceback (most recent call last):
File "/usr/bin/subliminal", line 9, in <module>
load_entry_point('subliminal==1.1.1', 'console_scripts', 'subliminal')()
File "/usr/lib/python3/dist-packages/pkg_resources/", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/", line 2693, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/", line 2324, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/", line 2330, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/subliminal/", line 10, in <module>
from .api import (ProviderPool, check_video, provider_manager, download_best_subtitles, download_subtitles,
File "/usr/lib/python3/dist-packages/subliminal/", line 13, in <module>
from .subtitle import compute_score, get_subtitle_path
File "/usr/lib/python3/dist-packages/subliminal/", line 7, in <module>
from guessit.matchtree import MatchTree
File "/usr/lib/python3/dist-packages/guessit/", line 99, in <module>
from guessit.plugins import transformers
File "/usr/lib/python3/dist-packages/guessit/plugins/", line 222, in <module>
File "/usr/lib/python3/dist-packages/guessit/plugins/", line 220, in reload
File "/usr/lib/python3/dist-packages/guessit/plugins/", line 179, in all_transformers
return _extensions.objects()
File "/usr/lib/python3/dist-packages/guessit/plugins/", line 111, in objects
File "/usr/lib/python3/dist-packages/stevedore/", line 261, in map
raise NoMatches('No %s extensions found' % self.namespace)
stevedore.exception.NoMatches: No guessit.transformer extensions found

Output of apt-cache policy subliminal

  Installed: 1.1.1-2
Candidate: 1.1.1-2
Version table:
*** 1.1.1-2 500
500 bionic/universe amd64 Packages
500 bionic/universe i386 Packages
100 /var/lib/dpkg/status

More From » python


Answer that works not only for Ubuntu 18.04, Bionic but also any release with pip installed

The problem appears to be an incompatibility between the latest python stevedore package and guessit, as reported in the Debian Bug Report Logs

The solution would be to install an appropriate version of stevedore from the PyPi Repository, in order to do that

  • Uninstall the existing packages that you've obtained from apt by using sudo apt-get purge -y python3-stevedore

  • Install the PyPi version of subliminal with the appropriate version of stevedore by using sudo pip3 install subliminal stevedore==1.19.1

Now running subliminal from the terminal will let it run as usual:

Subliminal on 18.04

[#17557] Saturday, October 9, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 487
Total Questions: 105
Total Answers: 98

Location: India
Member since Wed, Aug 4, 2021
2 Years ago