当前位置:网站首页>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 
边栏推荐
- C language force buckle question 61 of the rotating list. Double ended queue and construction of circular linked list
- Pytorch fixed random seed & recurrence model
- (heap sort) heap sort is super detailed, I don't believe you can't (C language code implementation)
- MySQL - 深入解析MySQL索引数据结构
- Back propagation process of manual BP neural network
- 恒星科通邀您“湘”约第24届中国高速公路信息化大会暨技术产品展示会
- Sequence list and linked list
- 9. Delay queue
- 网络之以太网
- Star a pathfinding in LAYA
猜你喜欢

No, just stick to it for 59 days

Classes and objects (I)

Several simple and difficult OJ problems with sequential force deduction

Vscode one click compilation and debugging

删除word文档中的空白页

STL source code analysis (Hou Jie) notes -- Classification and testing of stl containers

TypeError: Cannot read properties of undefined (reading ‘then‘)

Not for 60 days, magical dictionary

String, array, generalized table (detailed)

Classes and objects (II)
随机推荐
Won't you just stick to 62 days? Sum of words
On quotation
Visio draw grid
MySQL - deep parsing of MySQL index data structure
9. Delay queue
[k210 stepping pit] pytorch model is converted to kmodel and used on dock. (ultimately not achieved)
[c language] PTA 7-50 output Fahrenheit Celsius temperature conversion table
Actual combat of flutter - DIO of request encapsulation (II)
命令行交互工具(最新版) inquirer 实用教程
spinning up安装完使用教程测试是否成功,出现Library“GLU“ not found和‘from pyglet.gl import *错误解决办法
visio画网格
Whether the modification of import and export values by ES6 and commonjs affects the original module
Mongo Shell交互式命令窗口
钉钉对话框文子转换成图片 不能复制粘贴到文档上
Makefile(make)常见规则(二)
[c language] use the reverse order output of the linked list (bidirectional linked list)
No, just stick to it for 64 days. Find the insertion location
(heap sort) heap sort is super detailed, I don't believe you can't (C language code implementation)
Model tuning, training model trick
异常处理:pyemd或PyEMD找不到