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

TypeError: __init__() takes 1 positional argument but 2 were given #4953

Open
Chen1DONG opened this issue May 6, 2024 · 0 comments
Open

Comments

@Chen1DONG
Copy link

D:\Anaconda\envs\DL\python.exe D:/uav/airsim_rl/SAC.py
Traceback (most recent call last):
File "D:\uav\airsim_rl\SAC.py", line 676, in
sac(device=device)
File "D:\uav\airsim_rl\SAC.py", line 401, in sac
env = AirSimEnv(need_render=False)
File "D:\uav\airsim_rl\gym_airsim\envs\AirGym.py", line 41, in init
self.airgym = AirLearningClient()
File "D:\uav\airsim_rl\gym_airsim\envs\airlearningclient.py", line 21, in init
self.client = airsim.MultirotorClient(settings.ip)
TypeError: init() takes 1 positional argument but 2 were given

进程已结束,退出代码1

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

1 participant