python-mapnik
python-mapnik copied to clipboard
import error:
Hello,
After upgrading from Linux Mint 19 to 21.1, import mapnik
unfortunately does not work anymore:
>>> import mapnik Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/mapnik/__init__.py", line 74, in <module> from ._mapnik import * ImportError: /usr/lib/python3/dist-packages/mapnik/_mapnik.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN6mapnik3Map13set_base_pathERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
And I have absolutely no idea what to do…
I usually use mapnik from nik4 python scripts.