How do I install libsandbox? I have some problems during installation

269 Views Asked by At

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.

1

There are 1 best solutions below

0
On BEST ANSWER

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.