Hi Jason,

Thanks a lot! That fixed it.


-----Original Message-----
From: Jason Kölker [mailto:[email protected]] 
Sent: Tuesday, March 29, 2016 12:12 PM
To: Rajasekaran, Monica <[email protected]>
Cc: [email protected]
Subject: Re: [Ryu-devel] 'OVS' distribution was not found and is required by ryu

On Tue, Mar 29, 2016 at 4:05 PM, Rajasekaran, Monica 
<[email protected]> wrote:
> I installed ryu using the RyuInstallHelper
> (https://github.com/muzixing/ryuInstallHelper-1) . And, I already have 
> the latest and fully configured OVS 2.5.0. I am trying to run the 
> controller and it keeps giving me the following error:
>
>
>
> root@monica-HP-Z400-Workstation:/home/monica/Downloads/ryu# 
> ryu-manager --verbose
>
> Traceback (most recent call last):
>
>   File "/usr/local/bin/ryu-manager", line 5, in <module>
>
>     from pkg_resources import load_entry_point
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 2900, in <module>
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 2886, in _call_aside
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 2913, in _initialize_master_working_set
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 642, in _build_master
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 943, in require
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 
> 830, in resolve
>
> pkg_resources.DistributionNotFound: The 'ovs' distribution was not 
> found and is required by ryu
>
> root@monica-HP-Z400-Workstation:/home/monica/Downloads/ryu#


I'm not a PBR expert, but it appears the the installer script doesn't install 
PBR and its not triggering the parsing of requirements.

If you change:

python ./setup.py install

to:

pip install ./

It will trigger the right behavior.

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

Reply via email to