Traceback (most recent call last):
File "D:\log-classifier\main.py", line 8, in <module>
StartGetData(
File "D:\log-classifier\init_modul\StartGetData.py", line 143, in start
resalt = pool.map(run_function, parametrs)
File "C:\Users\danila\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\Users\danila\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "C:\Users\danila\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 537, in _handle_tasks
put(task)
File "C:\Users\danila\AppData\Local\Programs\Python\Python39\lib\multiprocessing\connection.py", line 211, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "C:\Users\danila\AppData\Local\Programs\Python\Python39\lib\multiprocessing\reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
TypeError: cannot pickle '_thread.lock' object
Process finished with exit code 1
import gdown
url = ' https://drive.google.com/uc?id=' + str(id_list[i])
output = str(name_list[i])
gdown.download(url, output, quiet=False)
<LinkObject{'href': 'https://cloud-api.yandex.net/v1/disk/resources?path=disk%3A%2Ftest-dir', 'method': 'GET', 'templated': False}>
А он случайно не сможет прокинуть pandas.DataFrame не знаете?