Trying to run two different functions at the same time with shared queue and get an error...how can I run two functions at the same time with a shared queue? This is Python
You need to change from queue import Queue to from multiprocessing import Queue.
from queue import Queue
from multiprocessing import Queue
The root reason is the former Queue is designed for threading module Queue while the latter is for multiprocessing.Process module.
For details, you can read some source code or contact me!