-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'p4.tmp' #463
Comments
@nagmat1 The |
You wrote "I have installed the p4 and behavior model as mentioned on tutorial." Did you execute these commands to install it?
If not, what commands did you use? I test the commands above about once per month, and the last time I did, it did not have the problem you described. |
I am not using VM, I have installed on my PC. |
"I have installed on my PC." Do you mean a computer running some version of the Windows OS? That is probably one of the least tested platforms for running the open source P4 development tools. Ubuntu Linux is #1, some other Linux distros are #2, macOS is #3 and has some quirks, and I do not think Windows even makes the list, in terms of number of users. I would recommend running a Linux VM on Windows, if you want to use a Windows system. That is much better supported in terms of things that have been well tested with P4 open source dev tools. |
No, the OS is Ubuntu 20.04, I tried to install some other P4 code from other tutorial and both of them crashed I guess. |
So if you can give exactly which sequence of commands you used to try to install the P4 development tools, and ideally also save the output from those commands (since sometimes one can find where things went wrong by looking through such output), which OS you are using, etc., someone might be able to help you. But "hey, it did not work" is not nearly enough information to go on. (Yes, I know you gave a particular error message you are experiencing in the original issue, but if you want to know why it is giving that error, versus other ways of installing the P4 dev tools that do not give that error, more details are useful.) |
I resolved the issue.
When I
but somehow python was not getting the exact path. Thank you guys for taking your time and helping me resolve the issue. |
Oh! Thank you very much. I had the same problem and I solved it according to your solution!! |
Oh! Thank you very much. I had the same problem and I solved it according to your solution!!! |
I solve the same problem with your sulotion too!Thank you!! |
I have installed the p4 and behavior model as mentioned on tutorial.
When I execute
make build
onbasic
folder. It executes normally :But when I am trying to run the program
make run
, I am getting this error :What may be the problem?
The text was updated successfully, but these errors were encountered: