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
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