-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to render the environment? #40
Comments
Thank you for opening this @77asadian. So, you are running this inside a jupyter notebook right? |
Yes, I'm running this in jupyter notebook. |
Can you share your OS version and a screenshot of the shell where you started jupyter notebook? |
I just tested it and in my configuration it works: I am using the python notebook example file provided in our repo: https://github.com/diambra/arena/blob/main/examples/diambra_arena_gist.ipynb |
But no, I have the same message/warning here and everything works. Can you please comment the rendering and see if, on this same console, it prints out logs demonstrating it is proceeding? |
Yes, but please share also the most recent logs/outputs |
everything seems to be executed properly. Add then run the script again and let's see if it is correctly running |
yes, so everything is working. It is strange you are not able to see the rendered screen. Need to check it on Win. You're not using a virtual machine or a headless configuration right? |
No, my OS is not running on a virtual machine. I'm using a Lenovo Legion 5 laptop. |
Can you do the following test? Add the following lines at the top of your jupyter script:
and past here the output |
Ok so that is the problem, cause we use that check to decide if showing or not the render image. But it could be we need a different check for windows, I'll carry out some tests and let you know. In the meantime you can use it without rendering. |
Thank you for your help. I'm looking forward to your response. |
Hey @77asadian, just pushed a new diambra-arena version (https://pypi.org/project/diambra-arena/ v2.0.0rc8) implementing the fix that solves this (tested on Win), this is the commit: 35bde2b You should update your python environment installing the latest version with Please confirm that you're able to see the rendering so that we can close the issue |
Hi,
I want to render the base code that I performed here:
Can you please help me with this?
The text was updated successfully, but these errors were encountered: