ERROR: Could not open activation key file mjkey.txt

Discussion in 'Licensing and activation' started by Minghao Han, Sep 22, 2018.

  1. C:\Users\Administrator> simulate ../model/humanoid.xml
    MuJoCo Pro library version 1.50
    ERROR: Could not open activation key file mjkey.txt

    Press Enter to exit ...

    I put the mjkey.txt file in the directory ".\mjpro150\bin" and added it to the %Path% environment variable, but still got the above error.

    I wonder if anyone knows how to fix it? Thanks!

    Cheers,
    Minghao
     
  2. I have the sample problem.
    Another question : I obtained the licence key and ran mujoco 1.5. now i upgraded to 2.0. will the same key work ?
     
  3. Nevermind solved it. It seems that you have to copy the mjkey.txt file into the bin directory
     
  4. I'm having the same issue here. I upgraded from mujoco 1.5 to 2.0. It worked for a while but now when I tried to run ./simulate in the bin directory it gave me an error
    I was using mujoco-py as well and it works totally fine.

    jc@jc-Precision-5510:~$ ~/.mujoco/mujoco200/bin/simulate PycharmProjects/mujoco/test_xmls/test_gripper.xml
    MuJoCo Pro version 2.00
    ERROR: Could not open activation key file mjkey.txt

    Press Enter to exit ...
    jc@jc-Precision-5510:~/.mujoco/mujoco200/bin$ cd
    jc@jc-Precision-5510:~$ cd ~/.mujoco/mujoco200/bin/
    jc@jc-Precision-5510:~/.mujoco/mujoco200/bin$ ls
    basic libglewegl.so libglfw3.a libmujoco200.so simulate
    compile libglewosmesa.so libglfw.so.3 mjkey.txt testspeed
    derivative libglew.so libmujoco200nogl.so record testxml
    jc@jc-Precision-5510:~/.mujoco/mujoco200/bin$ cd ..
    jc@jc-Precision-5510:~/.mujoco/mujoco200$ ls
    bin doc include mjkey.txt model sample
    jc@jc-Precision-5510:~/.mujoco/mujoco200$