[pypy-dev] Socket module fails in pypy1.8

kracekumar ramaraju kracethekingmaker at gmail.com
Mon Feb 13 18:38:31 CET 2012


 kracekumar at python-lover:~/pypy-pypy-2346207d9946/pypy/translator/sandbox$
pypy1.7 pypy_interact.py --tmp=virtualtmp/ ../../../pypy-c
Warning: cannot find your CPU L2 cache size in /proc/cpuinfo
Not Implemented: SomeString(no_nul=True)
'import site' failed
Python 2.7.2 (2346207d99463f299f09f3e151c9d5fa9158f71b, Feb 11 2012,
[PyPy 1.8.0 with GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``PyPy is not a real VM: no
segfault handlers to do the rare cases''
>>>> import socket
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/bin/lib-python/modified-2.7/socket.py", line 47, in <module>
    import _socket
ImportError: No module named _socket

It seems _socket module is undefined, I checked in lib-python/modified-2.7
and couldnot locate _socket module.

Thanks & Regards

"Talk is cheap, show me the code" -- Linus Torvalds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120213/d1c50277/attachment.html>

More information about the pypy-dev mailing list