Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autosub command not found #166

Open
meetdilip opened this issue Sep 25, 2019 · 8 comments
Open

autosub command not found #166

meetdilip opened this issue Sep 25, 2019 · 8 comments

Comments

@meetdilip
Copy link

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.

@meetdilip meetdilip changed the title autosub command did not find autosub command not found Sep 25, 2019
@BingLingGroup
Copy link

BingLingGroup commented Sep 26, 2019

Use sudo pip install autosub to install.
Reference: #144 (comment)

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.

@meetdilip
Copy link
Author

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 👍

@BingLingGroup
Copy link

@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
Copy link
Author

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.

@BingLingGroup
Copy link

BingLingGroup commented Sep 27, 2019

@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.

@meetdilip
Copy link
Author

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.

@BingLingGroup
Copy link

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.

@meetdilip
Copy link
Author

meetdilip commented Sep 27, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants