我为我的研究编写了一个 POX 控制器脚本,它在Python 2.7
解释器下运行良好(使用 PyCharm IDE)。但是,当我选择 时Python 3.5.1
,我收到以下错误:
/usr/bin/python3.5 /home/XXX/pox/pox.py openflow.discovery my_controller
Traceback (most recent call last):
File "/home/XXX/pox/pox.py", line 42, in <module>
import pox.boot
File "/home/XXX/pox/pox/boot.py", line 55, in <module>
import pox.core
File "/home/XXX/pox/pox/core.py", line 155, in <module>
import pox.lib.recoco as recoco
File "/home/XXX/pox/pox/lib/recoco/__init__.py", line 1, in <module>
import recoco
ImportError: No module named 'recoco'
Process finished with exit code 1
以前有人遇到过这样的错误吗?
谢谢