agermanidis / autosub

[NO LONGER MAINTAINED] Command-line utility for auto-generating subtitles for any video file
MIT License
4.14k stars 1.64k forks source link

Progressbar bars installation #78

Open zzj0402 opened 6 years ago

zzj0402 commented 6 years ago

Collecting progressbar>=2.3 (from autosub) Downloading progressbar-2.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "C:\Users\zzj04\AppData\Local\Temp\pip-build-m643aw0q\progressbar\setup.py", line 5, in import progressbar File "C:\Users\zzj04\AppData\Local\Temp\pip-build-m643aw0q\progressbar\progressbar__init.py", line 59, in from progressbar.widgets import * File "C:\Users\zzj04\AppData\Local\Temp\pip-build-m643aw0q\progressbar\progressbar\widgets.py", line 121, in class FileTransferSpeed(Widget): File "c:\users\zzj04\appdata\local\programs\python\python37-32\lib\abc.py", line 133, in new cls = super().new(mcls, name, bases, namespace, **kwargs) ValueError: 'format' in slots__ conflicts with class variable

lennartq commented 6 years ago

tl;dr: Install Python 2. It's not compatible with Python 3.

I just bumped into the same problem. This question/answer says Progressbar is incompatible with Python 3. The Wiki page says to install Python 2.7, so I assume Autosub isn't meant to work with Python 3.

This could be mentioned in README.md. I'm not that familiar with Python stuff, so maybe it's usually assumed everything's for Python 2.