autosub
autosub copied to clipboard
autosub command not found
I have ffmpeg and I tried pip install autosub
without a dot. Now when I try to use autosub command, it says
$ autosub -h autosub: command not found
Now I try
$ pip install autosub . Directory '.' is not installable. File 'setup.py' not found.
I am using 18.04. If possible, help me fix it.
Use sudo pip install autosub
to install.
Reference: https://github.com/agermanidis/autosub/issues/144#issuecomment-534830404
About how to install autosub from github repo: https://github.com/BingLingGroup/autosub#install-on-ubuntu
dot means current directory. Unless the current directory is the autosub repo's root directory, you can't install it properly. You can download the repo's zip and unzip it to get the repo locally.
sudo pip install autosub
I tried this on a new Terminal window and it worked. Thanks.
Sadly the subtitle that was generated had little relation to what they speak in audio. I don't know why. Hopefully, it will improve in a later version.
I did see your repo last day. May I ask, why it goes through some steps instead of giving the subtitle in a single command ?
Really admire your work :+1:
@meetdilip Obviously it can provide more functions than before. And you can still do it in one command. Just read the typical usage guide.
The instruction appears too much for me. Last time I used
autosub /home/name/Downloads/atlantis_s01e03.mkv
If possible, kindly share an example command as above for me to generate using the new version. Also, the commands that would upgrade my current autosub
to it.
@meetdilip Obviously it can provide more functions than before. And you can still do it in one command. Just read the typical usage guide.
@meetdilip All the example commands have already been listed in that url. Please just read it carefully. In this circumstance I won't consider any compatibility with the old version.
I see. How can I delete the old ( this one ) autosub ? Is there any command for that ? Then I will start afresh from the new repo.
You can use the following commands to uninstall the old version of autosub.
pip uninstall autosub
This will be considered as a clean uninstall if you used pip to install autosub before.
Looks like it worked :)
The directory '/home/name/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Uninstalling autosub-0.4.0: /home/name/.local/bin/autosub /home/name/.local/lib/python2.7/site-packages/autosub-0.4.0.dist-info/DESCRIPTION.rst /home/name/.local/lib/python2.7/site-packages/autosub-0.4.0.dist-info/INSTALLER /home/name/.local/lib/python2.7/site-packages/autosub-0.4.0.dist-info/METADATA /home/name/.local/lib/python2.7/site-packages/autosub-0.4.0.dist-info/RECORD /home/name/.local/lib/python2.7/site-packages/autosub-0.4.0.dist-info/WHEEL /home/name/.local/lib/python2.7/site-packages/autosub-0.4.0.dist-info/entry_points.txt /home/name/.local/lib/python2.7/site-packages/autosub-0.4.0.dist-info/metadata.json /home/name/.local/lib/python2.7/site-packages/autosub-0.4.0.dist-info/top_level.txt /home/name/.local/lib/python2.7/site-packages/autosub/init.py /home/name/.local/lib/python2.7/site-packages/autosub/init.pyc /home/name/.local/lib/python2.7/site-packages/autosub/constants.py /home/name/.local/lib/python2.7/site-packages/autosub/constants.pyc /home/name/.local/lib/python2.7/site-packages/autosub/formatters.py /home/name/.local/lib/python2.7/site-packages/autosub/formatters.pyc Proceed (y/n)? y
Successfully uninstalled autosub-0.4.0