Issue 31383: Issue with _posixsubprocess when importing subprocess32 (original) (raw)

I am trying to install subprocess32 with my python 2.7 installation via buildroot. It appeared to install correctly but when I import it on the embedded system I get an error:

import subprocess32 /usr/lib/python2.7/site-packages/subprocess32.py:472: RuntimeWarning: The _posixsubprocess module is not being used. Child process reliability may suffer if your pro gram uses threads. "program uses threads.", RuntimeWarning) Following this path I tried to import _posixsubprocess

import _posixsubprocess Traceback (most recent call last): File "", line 1, in ImportError: dynamic module does not define init function (init_posixsubprocess) subprocess32 seems to have it's own version and it's not working in this case?

I can use subprocess32 otherwise, tested out basic functionality like subprocess32.Popen(["ls"]).communicate()