AttributeError: module ‘_winapi’ has no attribute ‘SYNCHRONIZE’
测试结果
Python 3.9.7 可以
py377 不行
dtype=‘object’)
0%| | 0/269534 [00:00<?, ?it/s]Traceback (most recent call last):
File “”, line 1, in
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\externals\loky\backend\popen_loky_win32.py”, line 153, in main
_winapi.SYNCHRONIZE | _winapi.PROCESS_DUP_HANDLE, False, parent_pid
AttributeError: module ‘_winapi’ has no attribute ‘SYNCHRONIZE’
Traceback (most recent call last):
File “”, line 1, in
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\externals\loky\backend\popen_loky_win32.py”, line 153, in main
_winapi.SYNCHRONIZE | _winapi.PROCESS_DUP_HANDLE, False, parent_pid
AttributeError: module ‘_winapi’ has no attribute ‘SYNCHRONIZE’
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
Traceback (most recent call last):
File “”, line 1, in
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\externals\loky\backend\popen_loky_win32.py”, line 153, in main
_winapi.SYNCHRONIZE | _winapi.PROCESS_DUP_HANDLE, False, parent_pid
AttributeError: module ‘_winapi’ has no attribute ‘SYNCHRONIZE’
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\externals\loky\backend\popen_loky_win32.py”, line 153, in main
File “”, line 1, in
Traceback (most recent call last):
File “”, line 1, in
_winapi.SYNCHRONIZE | _winapi.PROCESS_DUP_HANDLE, False, parent_pid
Traceback (most recent call last):
File “”, line 1, in
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\externals\loky\backend\popen_loky_win32.py”, line 153, in main
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\externals\loky\backend\popen_loky_win32.py”, line 153, in main
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\externals\loky\backend\popen_loky_win32.py”, line 153, in main
_winapi.SYNCHRONIZE | _winapi.PROCESS_DUP_HANDLE, False, parent_pid
AttributeError: module ‘_winapi’ has no attribute ‘SYNCHRONIZE’
Traceback (most recent call last):
File “”, line 1, in
_winapi.SYNCHRONIZE | _winapi.PROCESS_DUP_HANDLE, False, parent_pid
AttributeError: module ‘_winapi’ has no attribute ‘SYNCHRONIZE’
_winapi.SYNCHRONIZE | _winapi.PROCESS_DUP_HANDLE, False, parent_pid
AttributeError: module ‘_winapi’ has no attribute ‘SYNCHRONIZE’
AttributeError: module ‘_winapi’ has no attribute ‘SYNCHRONIZE’
Traceback (most recent call last):
File “Round1\otto_base.py”, line 233, in
for ind in tqdm(train_jd.index))
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\parallel.py”, line 1952, in call
return output if self.return_generator else list(output)
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\parallel.py”, line 1595, in _get_outputs
yield from self._retrieve()
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\parallel.py”, line 1699, in _retrieve
self._raise_error_fast()
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\parallel.py”, line 1734, in _raise_error_fast
error_job.get_result(self.timeout)
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\parallel.py”, line 736, in get_result
return self._return_or_raise()
File “D:\software\anaconda\envs\py377\lib\site-packages\joblib\parallel.py”, line 754, in _return_or_raise
raise self._result
joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.