[root@ns361691 ~]# pip install --pre youtube_dl_server
Downloading/unpacking youtube-dl-server
Downloading youtube_dl_server-alpha.3.5.tar.gz
Running setup.py (path:/tmp/pip_build_root/youtube-dl-server/setup.py) egg_info for package youtube-dl-server
Downloading/unpacking WebOb (from youtube-dl-server)
Downloading WebOb-1.3.1.tar.gz (198kB): 198kB downloaded
Running setup.py (path:/tmp/pip_build_root/WebOb/setup.py) egg_info for package WebOb
```
no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'
```
Downloading/unpacking Paste (from youtube-dl-server)
Downloading Paste-1.7.5.1.tar.gz (523kB): 523kB downloaded
Running setup.py (path:/tmp/pip_build_root/Paste/setup.py) egg_info for package Paste
```
warning: no previously-included files matching '*' found under directory 'docs/_build/_sources'
```
Downloading/unpacking webapp2 (from youtube-dl-server)
Downloading webapp2-2.5.2.tar.gz (191kB): 191kB downloaded
Running setup.py (path:/tmp/pip_build_root/webapp2/setup.py) egg_info for package webapp2
```
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'webapp2_extras'
```
Downloading/unpacking pyyaml (from youtube-dl-server)
Downloading PyYAML-3.10.tar.gz (241kB): 241kB downloaded
Running setup.py (path:/tmp/pip_build_root/pyyaml/setup.py) egg_info for package pyyaml
Downloading/unpacking youtube-dl>=2013.12.04 (from youtube-dl-server)
Downloading youtube_dl-2014.02.21.1.tar.gz (306kB): 306kB downloaded
Running setup.py (path:/tmp/pip_build_root/youtube-dl/setup.py) egg_info for package youtube-dl
Installing collected packages: youtube-dl-server, WebOb, Paste, webapp2, pyyaml, youtube-dl
Running setup.py install for youtube-dl-server
changing mode of build/scripts-3.3/youtube-dl-server from 644 to 755
```
changing mode of /usr/bin/youtube-dl-server to 755
```
Running setup.py install for WebOb
```
no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'
```
Running setup.py install for Paste
Skipping installation of /usr/lib/python3.3/site-packages/paste/**init**.py (namespace package)
File "/usr/lib/python3.3/site-packages/paste/fileapp.py", line 126
except HTTPBadRequest, exce:
^
SyntaxError: invalid syntax
```
File "/usr/lib/python3.3/site-packages/paste/flup_session.py", line 84
except httpexceptions.HTTPException, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/urlparser.py", line 371
except (OSError, IOError), e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/reloader.py", line 101
except (AttributeError, ImportError), exc:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/cgiapp.py", line 257
except OSError, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/httpexceptions.py", line 634
except HTTPException, exc:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/registry.py", line 380
except Exception, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/wsgilib.py", line 135
raise got_exc[0], got_exc[1], got_exc[2]
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/cascade.py", line 126
except self.catch_exceptions, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/modpython.py", line 179
raise exc_info[0], exc_info[1], exc_info[2]
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/recursive.py", line 85
except ForwardRequestException, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/httpserver.py", line 156
raise exc_info[0], exc_info[1], exc_info[2]
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/fixture.py", line 449
def _make_response(self, (status, headers, body, errors), total_time):
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/errordocument.py", line 87
except RecursionLoop, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/transaction.py", line 119
print bing, time
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/wsgiwrappers.py", line 448
raise IOError, "This %s instance's content is not writable: (content " \
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/debug/watchthreads.py", line 293
except Exception, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/debug/debugapp.py", line 44
print "%s of %s remaining" % (remaining, total)
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/debug/testserver.py", line 50
print "\nWARNING: WSGIRegressionServer timeout exceeded\n"
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/debug/profile.py", line 203
raise exc_info[0], exc_info[1], exc_info[2]
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/debug/fsdiff.py", line 256
print 'Could not find %r in:' % s
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/debug/doctest_webapp.py", line 33
print data
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/auth/auth_tkt.py", line 146
except ValueError, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/auth/cookie.py", line 65
return reduce((lambda a, (b, c): a.replace(b, c)), sublist, str(s))
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/evalexception/evalcontext.py", line 37
exec code in self.namespace, self.globs
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/evalexception/middleware.py", line 149
except ValueError, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/PySourceColor.py", line 670
print doc % (__version__)
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/import_string.py", line 50
except ImportError, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/doctest24.py", line 359
raise TypeError, 'Expected a module: %r' % module
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/multidict.py", line 142
raise TypeError, "pop expected at most 2 arguments, got "\
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/template.py", line 210
raise exc_info[0], e, exc_info[2]
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/ip4.py", line 85
if len(tuple) <> 2:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/subprocess24.py", line 682
if (GetVersion() >= 0x80000000L or
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/intset.py", line 60
return not isinstance(value,_Infinity) or self._neg <> value._neg
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/UserDict24.py", line 122
raise TypeError, "pop expected at most 2 arguments, got "\
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/string24.py", line 70
raise ValueError, "maketrans arguments must have same length"
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/util/scgiserver.py", line 93
raise exc_info[0], exc_info[1], exc_info[2]
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/exceptions/formatter.py", line 223
except Exception, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/paste/exceptions/serial_number_generator.py", line 59
raise ValueError, (
^
SyntaxError: invalid syntax
warning: no previously-included files matching '*' found under directory 'docs/_build/_sources'
Installing /usr/lib/python3.3/site-packages/Paste-1.7.5.1-py3.3-nspkg.pth
```
Running setup.py install for webapp2
```
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'webapp2_extras'
File "/usr/lib/python3.3/site-packages/webapp2_extras/securecookie.py", line 87
except Exception, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3.3/site-packages/webapp2.py", line 571
except Exception, e:
^
SyntaxError: invalid syntax
```
Running setup.py install for pyyaml
checking if libyaml is compilable
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -I/usr/include/python3.3m -c build/temp.linux-x86_64-3.3/check_libyaml.c -o build/temp.linux-x86_64-3.3/check_libyaml.o
build/temp.linux-x86_64-3.3/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
#include
^
compilation terminated.
```
libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
specify the option --include-dirs or uncomment and
modify the parameter include_dirs in setup.cfg)
```
Running setup.py install for youtube-dl
```
Installing youtube-dl script to /usr/bin
```
Successfully installed youtube-dl-server WebOb Paste webapp2 pyyaml youtube-dl
Cleaning up...
[root@ns361691 ~]# youtube-dl-server
Traceback (most recent call last):
File "/usr/bin/youtube-dl-server", line 3, in
import youtube_dl_server
File "/usr/lib/python3.3/site-packages/youtube_dl_server/**init**.py", line 1, in
from .server import main, setup
File "/usr/lib/python3.3/site-packages/youtube_dl_server/server.py", line 1, in
from paste import httpserver
File "/usr/lib/python3.3/site-packages/paste/httpserver.py", line 156
raise exc_info[0], exc_info[1], exc_info[2]
^
SyntaxError: invalid syntax