国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(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ó)家法律
临沭县| 彰武县| 平罗县| 沅江市| 灵璧县| 隆德县| 孟连| 广昌县| 丰台区| 拉萨市| 观塘区| 德阳市| 舒兰市| 多伦县| 光山县| 扎兰屯市| 旌德县| 大埔区| 大田县| 赫章县| 镇康县| 辽宁省| 长宁县| 天津市| 沂源县| 剑河县| 大城县| 上栗县| 隆林| 永吉县| 阿拉善左旗| 宜兰市| 延庆县| 会同县| 桂东县| 格尔木市| 连城县| 水城县| 金昌市| 彰化市| 司法|