I haven't used Eclipse with this setup, but I expect you  will still need
to install the python modules.  I believe this will happen if you cd to the
tools/munger directory and do make install.  Presumably Eclipse can find
the libraries once they're installed.

-Dan


On Sat, Jun 30, 2012 at 12:04 PM, shreya pandita
<shreya.pand...@gmail.com>wrote:

> Hi All,
>
> Has anyone come across the similar problem while setting up OFTEST in
> Eclipse IDE.
> I have pydev plugin installed . I used egit to clone the project directly
> to eclipse from github. Everything is proper till now . Path of the project
> is maintained.
> Now that I try to debug any test . It gives me this error:
>
> *fiinding files... done.
> Importing test modules ... Traceback (most recent call last):
>   File
> "C:\Users\shreya\Desktop\openflow\eclipse\plugins\org.python.pydev.debug_2.5.0.2012040618\pysrc\pydev_runfiles.py",
> line 307, in __get_module_from_str
>     mod = __import__(modname)
>   File "C:/EclipseWorkspaces/git/oftest/tests\flow_expire.py", line 12, in
> <module>
>     import oftest.controller as controller
> ImportError: No module named oftest.controller
> ERROR: Module: flow_expire could not be imported (file:
> C:\EclipseWorkspaces\git\oftest\tests\flow_expire.py).
> done.*
>
> Has it something to do with the build and all . ? I don't know if I need
> to build it in eclipse before debugging . I thought of doing that but don't
> know how to build a python project in eclipse .
>
>
>
>
>
>
> _______________________________________________
> openflow-discuss mailing list
> openflow-discuss@lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
>
>
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to