New submission from paullpaulson:

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()

----------
components: Cross-Build
messages: 301589
nosy: Alex.Willmer, gregory.p.smith, paulpaulson
priority: normal
severity: normal
status: open
title: Issue with _posixsubprocess when importing subprocess32
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to