[英]ImportError: libboost_python.so.1.41.0: cannot open shared object file: No such file or directory
I am trying to install PyV8 to debian (I tried to ubuntu too)according the steps here http://www.wikisecure.net/importing-pyv8-engine-into-python-v2-7-the-easy-way/ 我正在尝试按照此处的步骤将PyV8安装到debian(我也尝试过ubuntu) :http://www.wikisecure.net/importing-pyv8-engine-into-python-v2-7-the-easy-way/
However I always get ImportError: libboost_python.so.1.41.0: cannot open shared object file: No such file or directory 但是我总是得到ImportError:libboost_python.so.1.41.0:无法打开共享对象文件:没有这样的文件或目录
I installed boost using apt-get install. 我使用apt-get install安装了boost。 I tried many manuals, how to install PyV8, but nothing work, so if anyone has something that worked or how fix my error, I would be pleased.
我尝试了很多手册,如何安装PyV8,但没有任何效果,因此,如果有人可以解决问题或如何修复我的错误,我会很高兴。
Thanks for advice 谢谢你的建议
Try installing libboost-all-dev, the file you're missing should be in there. 尝试安装libboost-all-dev,您丢失的文件应该在其中。
For clarity: What actually worked was copying and renaming a later version of libboost to 1.41. 为了清楚起见:实际可行的方法是将更高版本的libboost复制并重命名为1.41。 I would not recommend this as a fist solution, if getting the correct version is an option.
如果选择正确的版本,我不建议将此作为首选解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.