-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
完美的跑起来了,up主牛逼;不懂得 可以问我 #59
Comments
mac 能跑吗 |
可以。 |
/Users/lan/opt/anaconda3/envs/StreetFighterAI/lib/python3.8/site-packages/retro/,下面怎么没看到data文件夹? |
我在运行python test.py时,遇到以下报错走不下去了,问了chatGPT,说是代码与模型不符,让我检查模型啥的,不懂,请大神帮忙解答,万分感谢: |
我安装gym指定版本装不了 然后装了最新版本 然后呢 就跑不起来test.py × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. 然后用最新gym跑test的报错如下: |
@yoyosaygood 可以把requirement.txt条件放松试试
|
谢谢谢谢,已经解决了,非常感谢
…On Wed, Jun 28, 2023 at 7:26 AM Hao Chen ***@***.***> wrote:
@yoyosaygood <https://github.com/yoyosaygood> 可以把requirement.txt条件放松试试
gym>=0.22.0, <=0.25.2
gym-retro==0.8.0
stable-baselines3>=1.7.0
tensorboard==2.12.1
—
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7PPKWQP2HJ5XV42YUJO3QTXNNT2PANCNFSM6AAAAAAYHOOQ2Y>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
请教下如何跑通的 |
你在m1下跑起来了? |
@fr0zenrain 你是mac m1吗? |
我运行test.py也出问题了,不过好像跟他们的不太一样。 |
@761046683
|
|
还是要安装gym0.21,解决gym 0.21安装问题的方法。有时候新版本的setuptools或pip与旧的包存在不兼容性问题,pip install setuptools==65.5.0 pip==21 |
非常感谢
在 2023-10-20 18:36:23,"dybtom" ***@***.***> 写道:
微信gknb_666回溯(最近一次调用):文件“C:\Users\chenj\Desktop\play\street-fighter-ai-master\street-fighter-ai-master\main\test.py”,第79行,在obs中,奖励,完成,info = env.step(action) 文件“C:\Users\chenj\Desktop\play\street-fighter-ai-master\street-fighter-ai-master\main\street_fighter_custom_wrapper.py”,第71行,在步骤self.env.render()文件 “C:\Users\chenj.conda\envs\StreetFighterAI\lib\site-packages\retro\retro_env.py”,第 228 行,从 gym.envs.classic_control.rendering 导入 SimpleImageViewer 渲染 ModuleNotFoundError: 没有名为 'gym.envs.classic_control.rendering'的大佬,请问这个问题怎么解决
还是要安装gym0.21,解决gym 0.21安装问题的方法。有时候新版本的setuptools或pip与旧的包存在不兼容性问题,pip install setuptools==65.5.0 pip==21
更新pip时,直接使用pip命令可能会出现问题。你应该按照错误消息中给出的建议,使用Python的-m选项来进行pip更新
python.exe -m pip install pip==21 -i https://pypi.tuna.tsinghua.edu.cn/simple
安装完成之后再下面用的清华源
pip install gym==0.21 -i https://pypi.tuna.tsinghua.edu.cn/simple
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
怎么办,我pip install setuptools==65.5.0 pip==21之后,系统让我C:\Users\future\pycharm_progect\pythonProject.venv\Scripts\python.exe -m pip install setuptools==65.5.0 pip==21,然后我的pip就不好用了,报错 from pip._vendor.six.moves import urllib, map, filter |
微信gknb_666
The text was updated successfully, but these errors were encountered: