五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(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ó)家法律
海兴县| 团风县| 烟台市| 当雄县| 闽清县| 翼城县| 宝兴县| 台前县| 大化| 扶绥县| 大石桥市| 儋州市| 通辽市| 五指山市| 务川| 启东市| 平遥县| 长汀县| 大姚县| 康乐县| 循化| 神木县| 岢岚县| 大洼县| 平原县| 珠海市| 永胜县| 富平县| 吐鲁番市| 渭源县| 民丰县| 工布江达县| 屏边| 呼图壁县| 嘉兴市| 新干县| 辽阳县| 安乡县| 洛南县| 隆子县| 灵丘县|