Closed BassamJaber closed 5 years ago
weird, because the p4run script is explicitly using python2
https://github.com/nsg-ethz/p4-utils/blob/master/p4utils/p4run.py#L1
How do you call p4run
? Whats your pip
version?
You are correct, pip is using python 3 instead. I managed to fix it by forcing python 2 for pip using
python -m pip
instead of just pip in install.sh script
Thanks
After installing p4-utils, I tried to run the example using p4run. However, it seems that it is using python3 instead of python2 and the default is python 2.7.
How can I force p4run to use python2.7 instead of python3.5 ?