Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add installation instructions #523
Comments
|
Those errors sound pretty weird, but it seems make gives up when it tries making the documentation, though. Do you have pandoc installed? (I assume you're running Ubuntu or Debian or the like, so a simple If you still get those errors after installing pandoc, try running
|
|
As a user,
should do. It's documented as such on http://rg3.github.com/youtube-dl/download.html . I'm pretty sure
points to internal errors. I cannot reproduce these errors on a brand-new debian squeeze with exactly your commands (after running |
|
@Tailszefox: after installing pandoc like that, 'make youtube-dl' worked, in that it produced a file with the x bit set, but it still doesn't run: $ ./youtube-dl l93b1o5RtxA @phihag: I'm on Debian 6.0.5. There's no $PYTHONPATH. /usr/bin/python is version 2.6.6. After installing pandoc (I assumed it was part of python so didn't think to install it seperately) 'make' complains thus: $ make |
|
Have you tried setting the $PYTHONHOME variable to point to your installation? I would assume it is in /usr/lib/python2.6, though it may be somewhere else. Try running the command like this, substituting the path for the appropriate one:
EDIT : Okay, I'm able to reproduce this by putting a bogus PYTHONHOME, which I suppose is the issue here. I'll keep looking into it. EDIT 2 : As far as I can tell, this can happen if your $PYTHONHOME and/or $PYTHONPATH variable point to a different version than the one you're using when calling python. This is what I get when I try to run Python 2.6.6 with 2.7 libraries, for example:
Do you get the same kind of error if you try to simply run |
|
yes indeed: $ which python There are several py* directories in /usr/lib: $ ls -ld /usr/lib/py* I presume that the two ancient ones are lurking remnants from an older install of python which has since been upgraded to 2.6 - at some point this machine got dist-upgraded. |
|
Anyway, this looks like a problem with my python install, and not with youtube-dl, so I'm gonna close the issue. |
It's not obvious how to install this application, what it's pre-requisites are, and where to get them from:
$ git clone git://github.com/rg3/youtube-dl.git
Cloning into youtube-dl...
...
$ cd youtube-dl/
$ make
Could not find platform independent libraries
Could not find platform dependent libraries
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not import runpy module
pandoc -s -w man README.md -o youtube-dl.1
make: pandoc: Command not found
make: *** [youtube-dl.1] Error 127
Yes, I do have python installed!
$ dpkg -l|grep python
ii python 2.6.6-3+squeeze7 interactive high-level object-oriented language (default version)
...