You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a problem where I was trying to upgrade to webots 2025a from 2021a so I could use a more modern python version so windows could see the GPU with torch.
So I was trying to point webots to a different python runtime and I set this in the preferences:
Python Command: conda run -n myenv python
Which was a mistake because webots crashed immediately and would only work if I deleted the contents of the world file that webots pointed to last. Even reinstalling webots didn't help because it stored some cache somewhere that I couldn't find to undo my mistake.
I realized this was the way to do it:
Python Command: C:\Users<Username>\Anaconda3\envs\myenv\python.exe
If there's a way to catch this error before constantly crashing, that could be potentially helpful! Or some guidance on how to point to different python executables such as anaconda environments and virtual python environments.
The text was updated successfully, but these errors were encountered:
This is a problem where I was trying to upgrade to webots 2025a from 2021a so I could use a more modern python version so windows could see the GPU with torch.
So I was trying to point webots to a different python runtime and I set this in the preferences:
Python Command: conda run -n myenv python
Which was a mistake because webots crashed immediately and would only work if I deleted the contents of the world file that webots pointed to last. Even reinstalling webots didn't help because it stored some cache somewhere that I couldn't find to undo my mistake.
I realized this was the way to do it:
Python Command: C:\Users<Username>\Anaconda3\envs\myenv\python.exe
If there's a way to catch this error before constantly crashing, that could be potentially helpful! Or some guidance on how to point to different python executables such as anaconda environments and virtual python environments.
The text was updated successfully, but these errors were encountered: