-
Notifications
You must be signed in to change notification settings - Fork 814
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
(Only) when importing in debug mode: name 'raw_input' is not defined #544
Comments
Same here. I am running on PyCharm on macOS 10.15.6, and I meet two The errors are happening at By the way, I am using I hope this info would be helpful to fix the issue. |
Same issue here. Makes the debugging very difficult if one is using mujoco with python 3.8. |
I had the same issue. I temporarily sidestepped the issue by switching to |
Thanks |
FWIW, turning off "attach to subprocesses" fixes this problem for me. See: |
I have the same issue in vscode. As suggested by @PeterMitrano I added ""subProcess": false," to vscode launch file, problem solved. |
Describe the bug
When I run
import mujoco_py
using the debugger in CLion (v2020.1.2, but also with a pervious version), the program chrashed with the error message below. Running this script works perfectly fine.To Reproduce
Set up a system as descibed below (For me Python 3.8 is decisive here), a debugger, and try importing the module.
Expected behavior
Same behavior as for running the py-file without a debugger.
Error Messages
Desktop (please complete the following information):
Environment
echo $LD_LIBRARY_PATH
/home/$USER/.mujoco/mujoco200/bin
Additional Information
I tried all possible settings of "PyQt compatible" in the IDE's settings. It didn't make a difference.
When I use pdb from console, importing
mujoco_py
takes so long that I never waited untill it finished.The text was updated successfully, but these errors were encountered: