>>> /ryu# ./bin/ryu-manager ryu/app/simple_switch.py
Sent from my iPhone
On Mar 16, 2015, at 12:04 PM, YAMAMOTO Takashi <[email protected]> wrote:
>> I installed it from
>> https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial
>>
>> I tried your suggestion but it's incorrect
>>
>> Any suggestion ??!!
>
> the procedure on the wiki seems working for me:
>
> kuma% mkdir /tmp/ryu
> kuma% cd /tmp/ryu
> kuma% git clone git://github.com/osrg/ryu.git
> Cloning into 'ryu'...
> remote: Counting objects: 17450, done.
> remote: Total 17450 (delta 0), reused 0 (delta 0), pack-reused 17450
> Receiving objects: 100% (17450/17450), 19.27 MiB | 1.42 MiB/s, done.
> Resolving deltas: 100% (12735/12735), done.
> Checking connectivity... done.
> kuma% cd ryu
> kuma% PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch.py
> loading app ryu/app/simple_switch.py
> loading app ryu.controller.ofp_handler
> instantiating app ryu.controller.ofp_handler of OFPHandler
> instantiating app ryu/app/simple_switch.py of SimpleSwitch
>
> can you provide exact commands you've run and their full output?
>
> YAMAMOTO Takashi
>
>>
>> Best,
>> Talal
>>
>> On Mar 13, 2015, at 6:11 PM, YAMAMOTO Takashi <[email protected]> wrote:
>>
>>>> How to fix this ?
>>>>
>>>>
>>>> /ryu# ./bin/ryu-manager ryu/app/simple_switch.py
>>>> Traceback (most recent call last):
>>>> File "./bin/ryu-manager", line 18, in <module>
>>>> from ryu.cmd.manager import main
>>>> ImportError: No module named ryu.cmd.manager
>>>
>>> looks like an installation problem.
>>> how did you installed ryu?
>>>
>>> if '/ryu' is a copy of the source tree,
>>> "PYTHONPATH=. ./bin/ryu-manager ryu.app.simple_switch"
>>> might work.
>>>
>>> YAMAMOTO Takashi
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel