ImportError: libboost_python.so.1.41.0: cannot open shared object file: No such file or directory

ImportError: libboost_python.so.1.41.0: cannot open shared object file: No such file or directory

我正在尝试根据此处的步骤将 PyV8 安装到 debian(我也尝试 ubuntu)http://www.wikisecure.net/importing-pyv8-engine-into-python-v2-7-the-easy-way/

但是我总是得到 ImportError: libboost_python.so.1.41.0: cannot open shared object file: No such file or directory

我使用 apt-get install 安装了 boost。我尝试了很多手册,如何安装 PyV8,但没有任何效果,所以如果有人有一些有用的东西或如何修复我的错误,我会很高兴。

谢谢指教

尝试安装 libboost-all-dev,您丢失的文件应该在那里。

为清楚起见:实际起作用的是将较新版本的 libboost 复制并重命名为 1.41。如果可以选择获得正确的版本,我不建议将此作为首选解决方案。