Installation#

Setup Mujoco#

  • Download [mujoco 210] and unzip in ~/.mujoco

  • Add following to .bashrc/.zshrc and source it.

    $ export MUJOCO_PY_MUJOCO_PATH=$HOME/.mujoco/mujoco210/
    $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.mujoco/mujoco210/bin
    
    $ source ~/.bashrc
    

    (You can also refer here for step-by-step instructions on mujoco installation)

Install package#

  1. Setup [Python 3.7+] and optionally(recommended) create a virtualenv (refer here)

  2. Install following

    $ pip3 install 'setuptools<=66'
    $ pip3 install 'wheel<=0.38.4'
    
  3. Install Pytorch>=1.8.0.

  4. Install opcc:

    $ pip install git+https://github.com/koulanurag/opcc@main#egg=opcc