Skip to content
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

关于安装与使用流程 #22

Open
Justoday2005 opened this issue Nov 25, 2023 · 2 comments
Open

关于安装与使用流程 #22

Justoday2005 opened this issue Nov 25, 2023 · 2 comments

Comments

@Justoday2005
Copy link

我是第一次使用这个jsbsim仿真。看了你这边的介绍的代码安装流程,安装了jsbsim==1.1.6,
但是报错:Can not support the JSBSimenvironment.
是还需要安装jsbsim仿真或者其他东西吗?
希望能具体说一下,程序运行起来,都需要安装哪些环境,谢谢

@brucecui1998
Copy link

如果你是通过bash scripts/something.sh的话你应该不会遇到这个错误。你可能是在IDE里面直接运行的,建议遇到这种错误你首先应该debug一下发现问题出在scripts\train\train_jsbsim.py的logging.error("Can not support the " + all_args.env_name + "environment."),这是因为在config.py中group.add_argument("--env-name", type=str, default='JSBSim'默认设置成了JSBSim的缘故,你需要检查一下all_args.env_name参数你是否设置了,你需要设置--env-name SingleCombat

@brucecui1998
Copy link

希望你能加入民间交流群828028662,咱们一起多交流

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants