五月天青色头像情侣网名,国产亚洲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ó)家法律
清丰县| 犍为县| 日喀则市| 红原县| 榆社县| 武平县| 庆云县| 江永县| 青岛市| 沐川县| 鄂尔多斯市| 三台县| 白朗县| 申扎县| 新营市| 拉萨市| 扎囊县| 聂拉木县| 梨树县| 镇沅| 余姚市| 阿合奇县| 揭西县| 钦州市| 象州县| 永福县| 阳新县| 海阳市| 吉木萨尔县| 淅川县| 田东县| 宾阳县| 鹤壁市| 枞阳县| 攀枝花市| 新邵县| 丹东市| 唐河县| 余干县| 三穗县| 长丰县|