AttributeError: module ‘_winapi‘ has no attribute ‘SYNCHRONIZE‘

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.

  • 8
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值