I tried using captcha.py on python 3 and I get the following error:
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "captcha.py", line 205, in run_in_thread
for i in range(count):
TypeError: 'float' object cannot be interpreted as an integer
"""This is probably because python3 division has changed: "/" now does true divide not floor divide. We need to replace with "//" in some places to do floor divide.