Question

I have some problems installing libsandbox and pysandbox. I've tried with binary and source packages but no. It seems to do OK but, when I run:

from sandbox import *

it displays

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/sandbox/__init__.py", line 57, in <module>
from . import _sandbox
ImportError: /usr/local/lib/python2.7/dist-packages/sandbox/_sandbox.so: wrong ELF class: ELFCLASS32

How can I make it work? I'm running on Linux 64-bit.

Était-ce utile?

La solution

Seems like you have installed 32bit pysandbox on a 64bit machine, and trying to import the 32bit module from a 64bit python interpreter.

DISCLAIMER: I am the author of libsandbox.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top