openai/mujoco-py

Within docker: ERROR: Invalid activation key

Closed this issue · 3 comments

Within docker, how can I get the corresponding mjkey.txt?

root@ba8d364eb3cc:/mujoco_py/pwd/tfuser2-workspace/nouse# ./getid_linux 

Your MuJoCo computer id is:

   LINUX__095

Please send this string to Roboti LLC to generate activation key.

Press Enter to exit...

If I use the mjkey.txt file which is copied from the host ubuntu. I get error.

root@ba8d364eb3cc:/mujoco_py# python3
Python 3.5.2 (default, Sep 14 2017, 22:51:06) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mujoco_py
Compiling /mujoco_py/mujoco_py/cymj.pyx because it changed.
[1/1] Cythonizing /mujoco_py/mujoco_py/cymj.pyx
running build_ext
building 'mujoco_py.cymj' extension
creating /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder
creating /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/temp.linux-x86_64-3.5
creating /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/temp.linux-x86_64-3.5/mujoco_py
creating /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/temp.linux-x86_64-3.5/mujoco_py/mujoco_py
creating /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/temp.linux-x86_64-3.5/mujoco_py/mujoco_py/gl
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Imujoco_py -I/mujoco_py/mujoco_py -I/root/.mujoco/mjpro150/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.5m -c /mujoco_py/mujoco_py/cymj.c -o /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/temp.linux-x86_64-3.5/mujoco_py/mujoco_py/cymj.o -fopenmp -w
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Imujoco_py -I/mujoco_py/mujoco_py -I/root/.mujoco/mjpro150/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.5m -c /mujoco_py/mujoco_py/gl/osmesashim.c -o /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/temp.linux-x86_64-3.5/mujoco_py/mujoco_py/gl/osmesashim.o -fopenmp -w
creating /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/lib.linux-x86_64-3.5
creating /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/lib.linux-x86_64-3.5/mujoco_py
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/temp.linux-x86_64-3.5/mujoco_py/mujoco_py/cymj.o /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/temp.linux-x86_64-3.5/mujoco_py/mujoco_py/gl/osmesashim.o -L/root/.mujoco/mjpro150/bin -Wl,--enable-new-dtags,-R/root/.mujoco/mjpro150/bin -lmujoco150 -lglewosmesa -lOSMesa -lGL -o /mujoco_py/mujoco_py/generated/_pyxbld_LinuxCPUExtensionBuilder/lib.linux-x86_64-3.5/mujoco_py/cymj.cpython-35m-x86_64-linux-gnu.so -fopenmp
ERROR: Invalid activation key

Press Enter to exit ...

Same problem. It seems the key has something with the hardware of machine.

I received an email from Roboti LLC.

The hardware-locking mechanism in MuJoCo does not work with Docker. The only way to use MuJoCo with Docker is to have an institutional license, which comes with an unlocked activation key.

But what is the institutional license?

License questions are better asked on the MuJoCo Forum.

We don't handle licenses (or even mujoco releases) -- this is just a library which provides python bindings.