Hi all,
I noticed that Ryu 2.1 installed by pip could not launch. The following
error message is displayed when I try to start ryu-manager right after I
installed it. Because dependence packages are not installed, this occurs.
$ pip install ryu
…(snip)…
Successfully installed ryu
Cleaning up...
$ ryu-manager
Traceback (most recent call last):
File "/home/satoshi/.virtualenvs/sandbox/bin/ryu-manager", line 19, in
<module>
from ryu.lib import hub
File
"/home/satoshi/.virtualenvs/sandbox/lib/python2.6/site-packages/ryu/lib/hub.py",
line 31, in <module>
import eventlet
$ pip freeze
ryu==2.1
wsgiref==0.1.2
IMHO, this is caused by the fact that tools directory is not included in
tarball distributed in PyPI.
(from github, probably this is right)
$ git clone https://github.com/osrg/ryu.git
$ cd ryu
$ cat tools/pip-requires
eventlet
routes
webob>=1.0.8
paramiko
netaddr
(from pypi, probably this is wrong)
$ wget https://pypi.python.org/packages/source/r/ryu/ryu-2.1.tar.gz
$ tar xvf ryu-2.1.tar.gz
$ cd ryu-2.1
$ cat tools/pip-requires
cat: tools/pip-requires: No such file or directory
I seem that ryu.utils.parse_requirements() collect the packages from text
files.
(setup.py)
25 requires = utils.parse_requirements()
(ryu/utils.py)
59 def parse_requirements(requirements_files=['requirements.txt',
60 'tools/pip-requires']):
I checked whether there would be any file.
(github)
x requirements.txt
o tools/pip-requires
(pypi)
x requirements.txt
x tools/pip-requires
IMHO, it should be included the text file in the tarball which PyPI
distributed. Or it should be indicated on a document that it installs
manually.
Thanks,
Satoshi
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel