当前位置:网站首页>Mujoco and mujoco_ Install libxcursor.so 1:NO such dictionary
Mujoco and mujoco_ Install libxcursor.so 1:NO such dictionary
2022-07-29 04:36:00 【Obsession】
One 、mojoco install
1. download mujoco200 and mjkey.txt
mojoco200+mjkey.txt
In the destination folder ( Environment folder ) Create folder .mojoco
Decompress the inside mujoco200 Put the folder in .mojoco Under the folder
And then put mikey.txt Files in .mujoco Next in the folder , Put another copy to .mujoco/mujoco200/bin Next
2. environment variable
open .bashrc file
vi ~/.bashrc
Add... To it :
export LD_LIBRARY_PATH=/mnt/e/EdgeDownload/spinningup/.mujoco/mujoco200/bin${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export MUJOCO_KEY_PATH=/mnt/e/EdgeDownload/spinningup/.mujoco${MUJOCO_KEY_PATH}
3. test
Here I have a Bug, Report error as libXcursor.so.1:NO such dictionary, It's like this , It took a long time to find out which library this is in , Can be installed
sudo apt-get install libxcursor-dev
cd /mnt/e/EdgeDownload/spinningup/.mujoco/mujoco200/bin
./simulate ../model/humanoid.xml
among /mnt/e/EdgeDownload/spinningup It's my environment directory
If successful, the following page appears 
Two 、mujoco_py install
1. Activate the virtual environment created before , I am here spinningup
conda activate spinningup
Execute the following commands in sequence :
sudo apt update
sudo apt-get install patchelf
sudo apt-get install python3-dev build-essential libssl-dev libffi-dev libxml2-dev
sudo apt-get install libxslt1-dev zlib1g-dev libglew1.5 libglew-dev python3-pip
2. install mujoco-py
Find a location to download mujocopy, Execute after finding the location
git clone https://github.com/openai/mujoco-py
cd mujoco-py
pip install -r requirements.txt
pip install -r requirements.dev.txt
pip3 install -e . --no-cache
Restart the computer, and then execute the following commands
conda activate spinningup
sudo apt install libosmesa6-dev libgl1-mesa-glx libglfw3
sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so
pip3 install -U 'mujoco-py<2.2,>=2.1'
cd examples #( To perform this step, you need to go to your download mujoco-py The location of , Get into mujoco-py Folder )
python3 setting_state.py
If successful, the following screen will appear 
边栏推荐
- settings.xml
- Makefile+Make基础知识
- Won't you just stick to 69 days? Merge range
- C language: enumerating knowledge points summary
- String, array, generalized table (detailed)
- No, just stick to it for 64 days. Find the insertion location
- Deep analysis of data storage in memory (Advanced C language)
- [QT learning notes] * insert pictures in the window
- UE 在场景或UMG中播放视频
- MySQL - 深入解析MySQL索引数据结构
猜你喜欢

Not for 61 days. The shortest word code

Not 67 days, square root

WebRTC实现简单音视频通话功能

spinning up安装完使用教程测试是否成功,出现Library“GLU“ not found和‘from pyglet.gl import *错误解决办法

Classes and objects (III)

网络之以太网

redux快速上手

在线教育的推荐系统
![Understand the Internet giant [the war between China and Taiwan] and the development thinking of China and Taiwan](/img/6c/f24407133663c0e19d6fa05c611341.png)
Understand the Internet giant [the war between China and Taiwan] and the development thinking of China and Taiwan

15.federation
随机推荐
settings.xml
(heap sort) heap sort is super detailed, I don't believe you can't (C language code implementation)
[c language] PTA 7-48 find the number of combinations
Down sampling and up sampling
Multi card training in pytorch
[c language] PTA 7-63 falling ball
MySQL - 深入解析MySQL索引数据结构
Sign the college entrance examination
Exception resolution: error of not finding edu.stanford.nlp.semgraph.semgrex.semgrexpattern in cococaption package
Auto.js脚本开发环境搭建
Shell string segmentation
常见的限流方式
C language: talking about various complex statements
C language force buckle question 61 of the rotating list. Double ended queue and construction of circular linked list
Integration of Nan causes in pytorch training model
Pytoch automatic mixing accuracy (AMP) training
[C language] PTA 7-52 finding the sum of the first n terms of a simple interleaved sequence
删除word文档中的空白页
The third ACM program design competition of Wuhan University of Engineering
Definition and implementation of stack and queue (detailed)