On Tue, Mar 29, 2016 at 7:18 PM, FUJITA Tomonori <[email protected]> wrote: > Hi, > > On Mon, 28 Mar 2016 17:53:21 +0800 > "臼喨-川格" <[email protected]> wrote: > >> I just pull the latest ryu git repository down to install >> ryu. However, a new error occured, the detail info shows below. How >> to handle it? Thank you. > > Thanks for trying the latest code! That's really helpful for making > sure that a release works nicely. > > I tried to install the latest on clean Ubuntu 14.04 and got the > following: > > root@fac4ef26269e:/ryu# pip install -r tools/pip-requires > Exception: > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line > 122, in main > status = self.run(options, args) > File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", > line 262, in run > for req in parse_requirements(filename, finder=finder, > options=options, session=session): > File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1632, in > parse_requirements > req = InstallRequirement.from_line(line, comes_from, > prereleases=getattr(options, "pre", None)) > File "/usr/lib/python2.7/dist-packages/pip/req.py", line 173, in > from_line > return cls(req, comes_from, url=url, prereleases=prereleases) > File "/usr/lib/python2.7/dist-packages/pip/req.py", line 71, in > __init__ > req = pkg_resources.Requirement.parse(req) > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2667, > in parse > reqs = list(parse_requirements(s)) > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2605, > in parse_requirements > line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version > spec") > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2583, > in scan_list > "Expected ',' or end-of-list in",line,"at",line[p:] > ValueError: ("Expected ',' or end-of-list in", "ovs >=2.6.0.dev0 ; > python_version >= '3.0'", 'at', " ; python_version >= '3.0'") > > Now I remember that the version of pip on 14.04 can't handle the > version condition stuff. Jason, how about forcing >=2.6.0.dev0 for > everyone. Not necessary for guys with python2.7 but much better than > getting repeated error reports that Ryu 4.1 can't be installed on > 14.04. > > diff --git a/tools/pip-requires b/tools/pip-requires > index 4868e9d..88dd8e1 100644 > --- a/tools/pip-requires > +++ b/tools/pip-requires > @@ -5,5 +5,4 @@ oslo.config>=1.6.0 > routes # wsgi > six>=1.4.0 > webob>=1.2 # wsgi > -ovs >=2.6.0.dev0 ; python_version >= '3.0' > -ovs ; python_version < '3.0' > +ovs >=2.6.0.dev0
Works for me. I haven't seen any issues with the 2.6.0 branch in my dev (python2) environment. Happy Hacking! 7-11 ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
