When trying P4 demo: P4 Experimental Support via BMv2(https://wiki.onosproject.org/display/ONOS/P4+Experimental+Support+via+BMv2) (command: sudo -E python bmv2-demo.py), we encountered the following error.
Traceback (most recent call last):
File "bmv2-demo.py", line 184, in <module>
File "bmv2-demo.py", line 165, in main
OSError: [Errno 2] No such file or directory
This happened because the python method "subprocess.call" doesn't recognize the "onos-netcfg" even we added it to PATH.