caronc / nzb-subliminal

Fetches subtitles for the videos it's provided. It can be easily integrated into NZBGet and SABnzbd too.
GNU General Public License v3.0
103 stars 14 forks source link

Python error #43

Closed mattmac24 closed 7 years ago

mattmac24 commented 7 years ago

When running this script on a standard ubuntu 16.04 server I get the following error:

ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /usr/lib/python2.7/dist-packages

The fix I have been applying is from this thread thanks to ronajon.

easiest (and dirtiest) way is to change value '0.7' on line 2275 of file 'Subliminal/pkg_resources.py to another value. eg 0.6

I have setup nzbget-subliminal a few different times in the last few months and every time I have had to make this change before anything will work.

caronc commented 7 years ago

Thanks for the bug report. I'm not quite sure how that entire conversation happened in front of me and i was oblivious to it 😕 .

The 0.7 setuptools series isn't applicable to the Subliminal.py code, so it should be safe to just drop the check all together.