Skip to content
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

Python Command preferences crash #6768

Open
AndrewGerstenslager opened this issue Feb 3, 2025 · 0 comments
Open

Python Command preferences crash #6768

AndrewGerstenslager opened this issue Feb 3, 2025 · 0 comments

Comments

@AndrewGerstenslager
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant