Hi, >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in >> resolve >> raise DistributionNotFound(req) >> pkg_resources.DistributionNotFound: debtcollector>=1.2.0
This message shows "debtcollector" python package can not be found. How about installing it? e.g.) $ sudo pip install debtcollector Or, please refer to "Installation procedure" in Ryu-Book. I could install Ryu on Ubuntu 16.04 by following it. http://osrg.github.io/ryu-book/en/html/switching_hub.html#execution-of-ryu-application e.g.) $ sudo apt-get update $ sudo apt-get install git python-dev python-setuptools python-pip $ git clone https://github.com/osrg/ryu.git $ cd ryu $ sudo pip install . $ ryu-manager ... Thanks, Iwase On 2016年06月01日 14:04, Muhammad Tauseef Khan wrote: > Lets forget the RyuInstallHelper, it gives me the same error when i simply > run ryu-manager on my ubuntu 16 machine. Please take a look at the terminal > output in my last email. > > Can you guide me with some solution plz > > > > > Sent from my ALCATEL ONE TOUCH POP C9 > > Iwase Yusuke <iwase.yusu...@gmail.com> wrote: > > Hi, > > I don't know "RyuInstallHelper" well, though. > > "RyuInstallHelper" seems to install Ryu into the isolated Python environment > (virtualenv). > So, you need to activate virtualenv before stating Ryu, I think. > e.g.) > $ source ./ryu_venv/bin/activate > (ryu_venv)$ ryu-manager > > Thanks, > Iwase > > On 2016年05月30日 03:30, Muhammad Tauseef Khan wrote: >> Hi, >> >> I have been trying to run Ryu but I am getting the following error on Ubuntu >> 16. I have also tried RyuInstallHelper >> <https://github.com/sdnds-tw/ryuInstallHelper> but unfortunately it just >> worked only once inside the $ virtualenv ryu_venv environment and next time >> it started giving me the same error as without virtualenv ryu_venu. Can you >> guide me with some concrete solution? >> >> mininet@mininet-vm:~/ryuInstallHelper/ryu/ryu/app$ ryu-manager >> simple_switch_13.py >> Traceback (most recent call last): >> File "/usr/local/bin/ryu-manager", line 5, in <module> >> from pkg_resources import load_entry_point >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in >> <module> >> working_set = WorkingSet._build_master() >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in >> _build_master >> ws.require(__requires__) >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in >> require >> needed = self.resolve(parse_requirements(requirements)) >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in >> resolve >> raise DistributionNotFound(req) >> pkg_resources.DistributionNotFound: debtcollector>=1.2.0 >> mininet@mininet-vm:~/ryuInstallHelper/ryu/ryu/app$ uname -r >> 3.13.0-24-generic >> mininet@mininet-vm:~/ryuInstallHelper/ryu/ryu/app$ source >> ./ryu_venv/bin/activate >> -bash: ./ryu_venv/bin/activate: No such file or directory >> mininet@mininet-vm:~/ryuInstallHelper/ryu/ryu/app$ virtualenv ryu_venv >> New python executable in ryu_venv/bin/python >> Installing setuptools, pip...done. >> mininet@mininet-vm:~/ryuInstallHelper/ryu/ryu/app$ source >> ./ryu_venv/bin/activate >> (ryu_venv)mininet@mininet-vm:~/ryuInstallHelper/ryu/ryu/app$ ryu-manager >> simple_switch_13.py >> Traceback (most recent call last): >> File "/usr/local/bin/ryu-manager", line 5, in <module> >> from pkg_resources import load_entry_point >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in >> <module> >> working_set = WorkingSet._build_master() >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in >> _build_master >> ws.require(__requires__) >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in >> require >> needed = self.resolve(parse_requirements(requirements)) >> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in >> resolve >> raise DistributionNotFound(req) >> pkg_resources.DistributionNotFound: debtcollector>=1.2.0 >> (ryu_venv)mininet@mininet-vm:~/ryuInstallHelper/ryu/ryu/app$ >> >> >> Thanks, >> >> Regards >> Tauseef >> >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic >> patterns at an interface-level. Reveals which users, apps, and protocols are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >> >> >> >> _______________________________________________ >> Ryu-devel mailing list >> Ryu-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ryu-devel >> > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel