当前位置:网站首页>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
出现游戏视频则成功。
边栏推荐
- Not for 61 days. The shortest word code
- TypeError: Cannot read properties of undefined (reading ‘then‘)
- Oracle 插入数据
- MySQL - 聚簇索引和辅助索引
- Several simple and difficult OJ problems with sequential force deduction
- [C language] PTA 7-52 finding the sum of the first n terms of a simple interleaved sequence
- Semantic segmentation correlation
- Detailed comparison of break and continue functions
- Configure st-gcn environment record [Google lab]
- Pytorch fixed random seed & recurrence model
猜你喜欢

Pytoch automatic mixing accuracy (AMP) training

String, array, generalized table (detailed)

Unity Foundation (3) -- various coordinate systems in unity

Deploy Jenkins using containers

不会就坚持59天吧 替换单词

Pycharm reports an error when connecting to the virtual machine database

Star a pathfinding in LAYA

9.延迟队列

STL source code analysis (Hou Jie) notes - STL overview

Dasctf2022.07 empowerment competition
随机推荐
Classes and objects (I)
Target detection learning process
Redux quick start
Makefile+Make基础知识
Makefile(make)常见规则(二)
mpc5744p简介与OpenSDA固件更新
Pyscript cannot import package
异常解决:cococaption包出现找不到edu.stanford.nlp.semgraph.semgrex.SemgrexPattern错误
Flutter实战-请求封装(二)之dio
MySQL - clustered index and secondary index
Visio draw grid
C language: typedef knowledge points summary
[c language] PTA 7-55 query fruit price
Classes and objects (III)
MySQL - deep parsing of MySQL index data structure
14.haproxy+keepalived负载均衡和高可用
[c language] PTA 7-48 find the number of combinations
[C] PTA 6-8 finding the height of binary tree
Make a virtual human with zego avatar | virtual anchor live broadcast solution
RecyclerView通过DPAD按键上下切换焦点 切换到界面外的控件时焦点会左右乱跳