kytos / legacy

Legacy Network Applications (NApps) developed by Kytos team
https://kytos.io/
MIT License
2 stars 6 forks source link

ImportError: cannot import name 'rest' #291

Closed rmotitsuki closed 7 years ago

rmotitsuki commented 7 years ago
File "/projects/env_kytos/var/lib/kytos/napps/kytos/of_flow_manager/main.py", line 6, in <module>
    from kytos.core import KytosEvent, KytosNApp, log, rest
ImportError: cannot import name 'rest'

I have just pushed everything from kytos repository. Has the "rest" changed to kytos.core.napps?

cemsbr commented 7 years ago

rest is in both kytos.core and kytos.core.napps. Make sure you have installed the latest kytos. Try pip install -r requirements/dev.txt in kytos folder with the latest master branch code.

rmotitsuki commented 7 years ago

Thanks @cemsbr. It really seems something in my environment.