mapnik / python-mapnik

Python bindings for mapnik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with check after installing mapnik and python-mapnik - undefined symbol: PyClass_Type

totalspam opened this issue · comments

Hi! I need help!
I try to check correct of installation, but get error back:
mapnik-config -v
3.1.0

mapnik-config --input-plugins
/usr/local/lib/mapnik/input

in next step I get error:
python3 -c "import mapnik;print(mapnik.__file__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/mapnik-3.0.23-py3.6-linux-x86_64.egg/mapnik/__init__.py", line 74, in <module>
from ._mapnik import *
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.65.1: undefined symbol: PyClass_Type

What I must do to solve this error?
Thanks.