libboost_python error with Ubuntu 16.04 and Python3
First time graph-tool user here. I ran into an import error related to libboost_python and I could use some help. I've included some info below. Thanks.
# The error
$ python3 -c "import graph_tool"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/graph_tool/__init__.py", line 105, in <module>
dl_import("from . import libgraph_tool_core as libcore")
File "/usr/lib/python3/dist-packages/graph_tool/dl_import.py", line 57, in dl_import
exec(import_expr, local_dict, global_dict)
File "<string>", line 1, in <module>
ImportError: libboost_python-py34.so.1.58.0: cannot open shared object file: No such file or directory
# Ubuntu version
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
# Python version
$ python3 -V
Python 3.5.1+
# Package versions
$ apt-cache policy python3-graph-tool libboost-all-dev libboost-python-dev
python3-graph-tool:
Installed: 2.16-1
Candidate: 2.16-1
Version table:
*** 2.16-1 500
500 http://downloads.skewed.de/apt/wily wily/universe amd64 Packages
100 /var/lib/dpkg/status
libboost-all-dev:
Installed: 1.58.0.1ubuntu1
Candidate: 1.58.0.1ubuntu1
Version table:
*** 1.58.0.1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
libboost-python-dev:
Installed: 1.58.0.1ubuntu1
Candidate: 1.58.0.1ubuntu1
Version table:
*** 1.58.0.1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status