1

this is my code :

from pox.core import core
import pox.openflow.libopenflow_01 as of
from pox.lib.util import dpid_to_str
from pox.lib.util import str_to_bool

from pox.lib.addresses import EthAddr
from pox.lib.packet.ethernet import ethernet
import pox.lib.packet as pkt

and i have an error with:

File "d:/SDN/pox-master/pox/sw1.py", line 7, in <module>
from pox.core import core
ImportError: No module named pox.core

is there any solutions to fix

hafni158
  • 13
  • 1
  • 3
  • 2
    are you sure, you installed pox, if not check: https://noxrepo.github.io/pox-doc/html/#installing-pox – dkb Jan 25 '19 at 08:22

1 Answers1

0

It seems you don't have pox installed.
Now POX is available on the PyPy Python runtime.

Install pox with this command :

pip install pox

You can install it from source as well, for more information : https://pypi.org/project/pox/

gameon67
  • 3,981
  • 5
  • 35
  • 61
  • This is no longer the pox package the author asked. He/she asked for the pip package of this repo (https://github.com/noxrepo/pox) and https://pypi.org/project/pox/ points to https://github.com/uqfoundation/pox which is a totally different thing, not the SDN pox (networking software platform) – Thien Phan Jun 29 '21 at 09:14