我正在使用python3.6current.futures lib,出现以下错误,有人可以帮帮我吗?非常感谢! (最初,我使用多线程,尽管程序正常运行,我尝试切换到多进程,但发生错误...)
Traceback (most recent call last):
File "C:\Program Files\Python36\lib\multiprocessing\queues.py", line 241, in _feed
obj = _ForkingPickler.dumps(obj)
File "C:\Program Files\Python36\lib\multiprocessing\reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
AttributeError: Can't pickle local object '_createenviron.<locals>.encodekey'
Process finished with exit code 1