-
Notifications
You must be signed in to change notification settings - Fork 71
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
Broken imports on fresh install via pip #222
Comments
Hello, try installing using The newest Python version we test with is 3.10.10. |
U save me!thanks |
@Ivan-267 should I release a new version? |
@edbeeching Yes, that would help with the installation now that we merged the PRs. For now we can limit versions when we run into compatibility issues as we did with Rllib, and then slowly add support for newer versions. We can close this issue after the release. |
This could be due to an issue for which python version I ignorantly used (3.10.6) when starting up but I was getting the following errors when running the example
stable_baselines3_example.py
. I'm relatively new to RL so if there's just an unspoken version that everyone should be using let me know haha-- in either case I'm a big fan of providing which version of python this is intended for development within the README.md.ImportError: cannot import name 'export_model_as_onnx' from 'godot_rl.wrappers.onnx.stable_baselines_export'
and
ImportError: cannot import name 'spaces' from 'gymnasium.vector.utils'
The first error is due to export_model_as_onnx being renamed as export_ppo_model_as_onnx in the most recent version (0.8.1?), solved by renaming:
to
The second error was hackily resolved by adding the spaces source into the imported directory manually (https://gymnasium.farama.org/main/_modules/gymnasium/vector/utils/spaces/)
The text was updated successfully, but these errors were encountered: