最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

安裝Atari環(huán)境報(bào)錯(cuò)缺少ale_c.dll

2022-06-22 11:04 作者:-PCon-  | 我要投稿

背景:

在Atari游戲環(huán)境中做RL測(cè)試。通過(guò)anaconda新建了環(huán)境,配置好torch,numpy,gym等環(huán)境。運(yùn)行中報(bào)錯(cuò)如下:

意思是所顯示路徑下缺少ale_c.dll

處理方法:

方法1(對(duì)我情況無(wú)效,但點(diǎn)贊很多)

首先檢索到了這個(gè)方案(作者@razzzu)

https://github.com/openai/gym/issues/1726

Step1: 卸載相關(guān)庫(kù)

Step2: 安裝 VS build tools工具

Download VS build tools here:?https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16

運(yùn)行后勾選左側(cè)“C++ build tools”以及右側(cè)的

  • MSVC v142-VS 2019 C++ x64/x86 build tools

  • windows 10 SDK

  • C++ CMaKer

  • Testing tools core features - build tools

Step3: 重啟電腦

Step4: 重新安裝庫(kù)

Step5: 運(yùn)行測(cè)試

and if everything worked then it should return a list of all games as shown below


我在完成上述步驟后發(fā)現(xiàn)還是缺少ale_c.dll,于是打算直接下載一個(gè)ale_c.dll

方法2 (有效)

根據(jù)stackoverflow上的方法

Step1: Download ale_c.dll from here(https://drive.google.com/file/d/1WQrEBliYbASwNDyyVIlPFSZHRwAa7sPp/view?usp=sharing).?

Step2: Copy it in C:\Users\Deep Raval\AppData\Local\Programs\Python\Python38\Lib\site-packages\atari_py\ale_interface (Your path can be different).

成功解決問(wèn)題!

2021.5.20

安裝Atari環(huán)境報(bào)錯(cuò)缺少ale_c.dll的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
娄烦县| 井陉县| 武夷山市| 璧山县| 潼南县| 习水县| 宝清县| 德庆县| 五常市| 务川| 牡丹江市| 报价| 林芝县| 仁化县| 蒙城县| 屯留县| 烟台市| 如皋市| 嫩江县| 舟山市| 龙泉市| 太和县| 长治市| 襄樊市| 浮梁县| 兰州市| 合阳县| 隆昌县| 赤壁市| 恩施市| 达尔| 富裕县| 潜山县| 阆中市| 望奎县| 连州市| 衡阳县| 苏尼特右旗| 苏尼特左旗| 南投市| 隆德县|