~/.m/m/bin 禄 ./simulate ../model/humanoid.xml (ppo_latest) 20:45:08
MuJoCo Pro library version 1.50
ERROR: Could not open activation key file mjkey.txt
Press Enter to exit ...
~/.m/m/bin 禄 pwd (ppo_latest) 20:45:14
/Users/abhishek/.mujoco/mjpro150/bin
~/.m/m/bin 禄 ls ../../ (ppo_latest) 20:45:16
__MACOSX mjkey.txt mjpro150 mjpro150_osx.zip
+1
I also had this problem. I thought there must be something wrong with the README.md. I solved this problem by placing my license key at ~/.mujoco/mjpro150/bin/mjkey.txt instead of ~/.mujoco/mjkey.txt.
Hope that can help you.
+1
Here's what worked for me: (note this is just to run ./simulate, for your custom files/code you'll have to follow a similar way )
simulate.cpp and search for mj_activate( ) function. ( line number 1217 ).mjkey.txt. For me it was, mj_activate("/Users/sudoankit/.mujoco/mjpro150/sample/mjkey.txt"); make in the same directory. ./simulate, which is in your mujoco/bin directory.model directory to the window. ~/.m/m/bin 禄 ./simulate ../model/humanoid.xml (ppo_latest) 20:45:08 MuJoCo Pro library version 1.50 ERROR: Could not open activation key file mjkey.txt Press Enter to exit ... ~/.m/m/bin 禄 pwd (ppo_latest) 20:45:14 /Users/abhishek/.mujoco/mjpro150/bin ~/.m/m/bin 禄 ls ../../ (ppo_latest) 20:45:16 __MACOSX mjkey.txt mjpro150 mjpro150_osx.zip
problem solved
Most helpful comment
I also had this problem. I thought there must be something wrong with the README.md. I solved this problem by placing my license key at
~/.mujoco/mjpro150/bin/mjkey.txtinstead of~/.mujoco/mjkey.txt.Hope that can help you.