Question

I have the following very small bit of code:

from multiprocessing import Pipe
End1, End2 = Pipe ()

Which yielded the following error:

Traceback (most recent call last):
File "/storage/sdcard0/MyMovie/.run/.last_tmp.py", line 3, in <module>
End1, End2 = Pipe ()
File "/storage/sdcard0/com.hipipal.qpyplus/lib/python3.2/site-packages/multiprocessing/__init__.py", line 106, in Pipe
return Pipe(duplex)
File "/storage/sdcard0/com.hipipal.qpyplus/lib/python3.2/site-packages/multiprocessing/connection.py", line 188, in Pipe
s1, s2 = socket.socketpair()
File "/storage/sdcard0/com.hipipal.qpyplus/lib/python3.2/site-packages/socket.py", line 225, in socketpair
a, b = _socket.socketpair(family, type, proto)
socket.error: [Errno 95] Operation not supported on transport endpoint

I goggled the last error, but couldn't find anything useful. I've seen it used just like this in the documentation, so I can't see it being what I wrote, given its only 2 lines. Could this be an "internal problem"? I'm using the Python3 Interpreter for Android, using Python 3.2

Thank you

Was it helpful?

Solution

Does the hardware support multiprocessing? I am not sure, but it might be the problem.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top