Durgesh Durgesh - 8 months ago 171
Python Question

ImportError: No module named concurrent.futures.process

I have followed the procedure given in How to use valgrind with python? for checking memory leaks in my python code.

I have my python source under the path


I have given above path in
. Everything is working fine if I run the code with default python binary, located under
I need to run the code with the python binary I have build manually which is located under


Then I am getting the following error

from concurrent.futures.process import ProcessPoolExecutor
ImportError: No module named concurrent.futures.process

How can I solve this?

Answer Source

If you're using Python 2.7 you must install this module :

pip install futures

Futures feature has never included in Python 2.x core. However, it's present in Python 3.x since Python 3.2.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download