Python Forum
multiprocessing doesnt contain some modules(shared_memory) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: multiprocessing doesnt contain some modules(shared_memory) (/thread-22135.html)



multiprocessing doesnt contain some modules(shared_memory) - mike000 - Oct-31-2019

I'm using pycharm and when I try to do
from multiprocessing import shared_memory
pycharm tells me is a wrong line of code, how do I get multiprocessing package with shared_memory module in it?


RE: multiprocessing doesnt contain some modules(shared_memory) - buran - Oct-31-2019

https://docs.python.org/3.8/library/multiprocessing.shared_memory.html

it's new in 3.8. what version do you use?


RE: multiprocessing doesnt contain some modules(shared_memory) - mike000 - Oct-31-2019

using 3.7 upgrade now thanks


RE: multiprocessing doesnt contain some modules(shared_memory) - mike000 - Oct-31-2019

other modules are not working now with 3.8 so seems I can't use shared_memory for now..