p4lang / ptf

Packet Test Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting up ptf isn't working for me

evelynpcooper opened this issue · comments

I'm pretty new to p4 and not very good with code, so I apologize ahead of time if this is a simple question. I am trying to run ptf and I'm not sure what the command sudo python setup.py install is doing, so it's hard for me to figure out what is going wrong. I am getting the error error: error in 'egg_base' option: 'src' does not exist or is not a directory when I run this command in the same docker that has the environment for the switch, and if I try to run this command outside of the docker, I get the error error: error in 'egg_base' option: 'src' does not exist or is not a directory. Is someone willing to help me figure out how to fix this issue and start using ptf? Also I cannot view the setuptools.html for some reason.

Thanks.

Sorry I was confused. I was trying to take just what I needed for my docker. I am still confused but this was not a very well constructed question. Where can I get help with setting up ptf in my docker container?

If you are looking to build a Docker image with the p4lang software, you can refer to this repository: https://github.com/p4lang/third-party (and maybe use our p4lang:third-party image directly?)

To ask question, you can join the p4lang Slack workspace.