Created
May 14, 2015 18:39
-
-
Save YamashitaRen/5846848c372369f28431 to your computer and use it in GitHub Desktop.
/usr/bin/pysubs2.py error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[yama@VaioLaptop pysubs2]$ ls /usr/lib/python3.4/site-packages/pysubs2 | |
__init__.py __main__.py __pycache__ cli.py common.py exceptions.py formatbase.py formats.py jsonformat.py microdvd.py ssaevent.py ssafile.py ssastyle.py subrip.py substation.py time.py | |
[yama@VaioLaptop pysubs2]$ cat /usr/bin/pysubs2.py | |
#!/usr/bin/python | |
import sys | |
import pysubs2 | |
if __name__ == "__main__": | |
cli = pysubs2.cli.Pysubs2CLI() | |
rv = cli(sys.argv[1:]) | |
sys.exit(rv) | |
[yama@VaioLaptop pysubs2]$ python /usr/bin/pysubs2.py | |
Traceback (most recent call last): | |
File "/usr/bin/pysubs2.py", line 7, in <module> | |
cli = pysubs2.cli.Pysubs2CLI() | |
AttributeError: 'module' object has no attribute 'cli' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment