mapnik / python-mapnik

Python bindings for mapnik
GNU Lesser General Public License v2.1
157 stars 90 forks source link

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

Open totalspam opened 3 years ago

totalspam commented 3 years ago

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.