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

can not upgrade youtube-dl on ubuntu #4778

Closed
deng-kai opened this issue Jan 24, 2015 · 4 comments
Closed

can not upgrade youtube-dl on ubuntu #4778

deng-kai opened this issue Jan 24, 2015 · 4 comments

Comments

@deng-kai
Copy link

@deng-kai deng-kai commented Jan 24, 2015

I use this command on my ubuntu 14.04 desktop:
sudo -H pip install --upgrade youtube_dl
then this is the result:
Collecting youtube-dl from https://pypi.python.org/packages/2.7/y/youtube_dl/youtube_dl-2015.01.23.4-py2.py3-none-any.whl#md5=88cab49c1d9667a4cacff354376b8d62
Using cached youtube_dl-2015.01.23.4-py2.py3-none-any.whl
Installing collected packages: youtube-dl
Found existing installation: youtube-dl 2015.1.15
Can't uninstall 'youtube-dl'. No files were found to uninstall.
Successfully installed youtube-dl-2015.1.15

/usr/local/lib/python2.7/dist-packages/youtube_dl$ ls
aes.py downloader main.py swfinterp.pyc version.pyc
aes.pyc extractor main.pyc update.py YoutubeDL.py
cache.py init.py options.py update.pyc YoutubeDL.pyc
cache.pyc init.pyc options.pyc utils.py
compat.py jsinterp.py postprocessor utils.pyc
compat.pyc jsinterp.pyc swfinterp.py version.py

command
whereis youtube-dl : /usr/local/bin/youtube-dl

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 24, 2015

How did you install /usr/local/bin/youtube-dl in the first place?

@deng-kai
Copy link
Author

@deng-kai deng-kai commented Jan 24, 2015

I don't know, and how to fix it.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 24, 2015

I guess you installed it with apt, if that's the case run sudo apt-get remove -y youtube-dl, if not you can try removing /usr/local/bin/youtube-dl. Running the pip command after that should work.

@deng-kai
Copy link
Author

@deng-kai deng-kai commented Jan 24, 2015

I was not use apt-get to install youtube-dl. And in /usr/local/lib/python2.7/dist-packages/, youtube_dl folder is existing./usr/local/bin/youtube-dl is an execute file

@deng-kai deng-kai closed this Jan 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.