On Thu, 31 Aug 2017 07:06:39 +0200 Thomas Bechtold <[email protected]> wrote:
> From: Thomas Bechtold <[email protected]> > > 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 <[email protected]> > --- > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
