I got a problem when trying shared memory access with python. I used multiprocessing library from Python Standard Library, but it's not worked when I try to import shared_memory module.
from multiprocessing import shared_memory
Result
ImportError: cannot import name shared_memory
I tried with Python 2 and Python 3, and all of them have the same problem. Is there any suggestion about this problem?
As of Python 3.7, multiprocessing.shared_memory
is not yet actually a thing that exists. Wait for 3.8, then get 3.8. It will exist in 3.8.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With