-
Notifications
You must be signed in to change notification settings - Fork 12
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
PyDev- Interpreter Grammar Configuration #34
Comments
Hello! Can I recommend that you run the virtual machine available in our documentation (download)?. I agree that the documentation here is probably wrong, it was very hard for us to get OMNeT++ working properly consistently across many setups (one of the motiviations for the python simulator), so the installation process is kind of lacking. Using a VM is not a very good developer experience, but maybe you can check out how it works and see it anything there can help you set it up on your own machine. In the meantime, we will try working on better setup instructions, but that might take a while. |
Thanks a lot. I will try that, and also wait for any updates :). I am currently working on simulating data collection from sensors through UAVs in my research, so that is why I found your work quite interesting and valuable. I had a question to ask about the Python simulator. It is mentioned that there is an integrated mode that allows the python code written using the Gradys library be ran on OMNET++. Is there any tutorial or maybe steps to follow to achieve that? for example, how could I run the simple protocol program shared in the documentation of gradys next gen on OMNET++? |
There is an example of this repository running a python protocol from OMNeT++: https://github.com/Project-GrADyS/gradys-simulations/tree/main/showcases/sim/python_simulation. Hope this helps! |
Closing because of inactivity |
Hi, I am currently trying to run the project. I am using an Ubuntu 20.04 OS. I completed all the steps until this part "Last but not least we have to ensure that the python installation is correctly configured and we have our simulator package properly installed. For this we have to go into the PyDev - Interpreter / Grammar Settings and select our installed python environment in which we want to install the simulator package. In our case we have set up a new python installation with pyenv.One way of doing this is shown here: https://github.com/pyenv/pyenv. Afterwards we go into the python project and can run pip install . in the root of the project." successfully.
I downloaded Python 3.11.4 using pyenv, but I am not sure how to select the python environment in the PyDev - Interpreter / Grammar Settings tab. I checked the figure in the documentation, but nothing in it was changed from the default settings. Could you provide some detailed steps about this step?
Also, it says "Afterwards we go into the python project and can run pip install . in the root of the project" After I downloaded python 3.11.4 from pyenv, I could not find any setup.py file in any directory to do this step? Could you also explain how this step could be executed?
Thanks in advance.
The text was updated successfully, but these errors were encountered: