On Thu, 31 Aug 2017 07:06:39 +0200 Thomas Bechtold <thomasbecht...@jpberlin.de> wrote:
> From: Thomas Bechtold <tbecht...@suse.com> > > In some systems pip is not installed and the parse_requirements() function > is not needed. So only import pip if needed. Otherwise this fails with: > > from ryu.base import app_manager > File "/usr/lib/python2.7/site-packages/ryu/base/app_manager.py", line 34, > in <module> > from ryu import utils > File "/usr/lib/python2.7/site-packages/ryu/utils.py", line 23, in <module> > from pip import req as pip_req > ImportError: No module named pip > > Signed-off-by: Thomas Bechtold <tbecht...@suse.com> > --- > ryu/utils.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Applied, thanks! ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel