当前位置:网站首页>spinning up安装完使用教程测试是否成功,出现Library“GLU“ not found和‘from pyglet.gl import *错误解决办法
spinning up安装完使用教程测试是否成功,出现Library“GLU“ not found和‘from pyglet.gl import *错误解决办法
2022-07-29 04:31:00 【执妄】
测试spinning up是否安装成功:
python -m spinup.run test_policy data/installtest/installtest_s0
报错如下:

我一开始从网上找解决方法,大家都说的换pyglet版本为1.5.11,然而并没有用
最终解决办法
这里只针对Ubuntu
sudo apt install freeglut3-dev
可能出现如下错误:
无法下载相关依赖和安装包,这时可以自己手动下载
文件1
文件2
这里文件1,2的链接就是报错的网址
然后将两个文件移动到apt-get下载目录下:
先将当前目录调整到你下载这两个文件的目录,然后开始移动:
sudo mv freeglut3_2.8.1-3_amd64.deb /var/cache/apt/archives
sudo mv freeglut3-dev_2.8.1-3_amd64.deb /var/cache/apt/archives
/var/cache/apt/archives是apt-get的下载目录
完成这些操作后就可以安装了:
sudo apt-get install freeglut3-dev
测试一下:
python -m spinup.run test_policy data/installtest/installtest_s0
出现游戏视频则成功。
边栏推荐
- What is the use of meta-info?
- Multi card training in pytorch
- Basic operation of queue
- 11. Backup switch
- String, array, generalized table (detailed)
- 10.回退消息
- 使用容器部署Jenkins
- C language force buckle question 61 of the rotating list. Double ended queue and construction of circular linked list
- It won't last for 65 days. It only appears once
- Several simple and difficult OJ problems with sequential force deduction
猜你喜欢

【Express连接MySQL数据库】

15.federation

Deep analysis of data storage in memory (Advanced C language)

常见的限流方式

11.备份交换机

Vscode one click compilation and debugging

MySQL - 深入解析MySQL索引数据结构

Christmas tree web page and Christmas tree application

Definition and implementation of stack and queue (detailed)

Use of construction methods
随机推荐
Mongo Shell交互式命令窗口
恒星科通邀您“湘”约第24届中国高速公路信息化大会暨技术产品展示会
15.federation
Classes and objects (III)
Not for 58 days. Implement prefix tree
Use of torch.optim optimizer in pytorch
Introduction and examples of parameters in Jenkins parametric construction
Oracle update and delete data
Back propagation process of manual BP neural network
MySQL - 聚簇索引和辅助索引
Dasctf2022.07 empowerment competition
14.haproxy+keepalived负载均衡和高可用
Pyqt5 learning pit encounter and pit drainage (3) background picture coverage button style and check button status
Niuke IOI weekly 27 popularity group
[C language] power table of 3 generated by PTA 7-53
Classes and objects (II)
It won't last for 65 days. It only appears once
异常处理:pyemd或PyEMD找不到
Two forms of softmax cross entropy + numpy implementation
There are objections and puzzles about joinpoint in afterreturning notice (I hope someone will leave a message)