This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paulpaulson
Recipients Alex.Willmer, gregory.p.smith, paulpaulson
Date 2017-09-07.15:07:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504796835.41.0.471412367865.issue31383@psf.upfronthosting.co.za>
In-reply-to
Content
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 "<stdin>", line 1, in <module>
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()
History
Date User Action Args
2017-09-07 15:07:15paulpaulsonsetrecipients: + paulpaulson, gregory.p.smith, Alex.Willmer
2017-09-07 15:07:15paulpaulsonsetmessageid: <1504796835.41.0.471412367865.issue31383@psf.upfronthosting.co.za>
2017-09-07 15:07:15paulpaulsonlinkissue31383 messages
2017-09-07 15:07:15paulpaulsoncreate