Hi, Did you "re-install" Ryu after you putting your apps into ryu/app directory?
I guess python will search your modules under python "site-packages" directory, but your project is not installed with Ryu into this directory. Please re-install Ryu with your project as follow and try again. # At Ryu top directory: $ python setup.py install Thanks, Iwase On 2016年09月07日 00:46, Francesco Murador wrote: > Another question and please answer me i did a new module but i can't import > it in another file because it says no module found...so what's the problem > why the pre-installed module i can import in other projects and mine not? > What do i have to modify to import successfully my module? I modified even > sources.txt but it doesn't work my module is in ryu/app but when i do from > ryu.app.mymodule import module > Where module is defined it says that can't find mymodule but in that > directory the file is there...help me i'm going crazy with this > > >> Il giorno 06/set/2016, alle ore 11:47, Francesco Murador >> <frankm...@icloud.com> ha scritto: >> >> Hi i have a question...i need to start stplib when i check a thing how can i >> start it? Not at the begin of my program with _CONTEXTS...i have to check if >> some values in a switch are out of range if they aren't i need to start the >> spanning tree because all i want is to block a dpid but if i don't block a >> dpid i have a topology with loops so normal simple_switch will not work so i >> had to run the stplib > > ------------------------------------------------------------------------------ > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel