I'm getting this issue. Python mapnik seems to install OK but importing library failes on some sort of unicode error.
I found other people with the same issue, but I didn't see any clear resolution to it.
Thisi s on mac os 11.6, python 2.7.18
import mapnik
Traceback (most recent call last):
File "", line 1, in
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mapnik-4.0.0-py2.7-macosx-10.15-x86_64.egg/mapnik/init.py", line 74, in
from ._mapnik import *
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mapnik-4.0.0-py2.7-macosx-10.15-x86_64.egg/mapnik/_mapnik.so, 2): Symbol not found: __ZTIN6icu_5713UnicodeStringE
Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mapnik-4.0.0-py2.7-macosx-10.15-x86_64.egg/mapnik/_mapnik.so
Expected in: flat namespace
in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mapnik-4.0.0-py2.7-macosx-10.15-x86_64.egg/mapnik/_mapnik.so
I'm getting this issue. Python mapnik seems to install OK but importing library failes on some sort of unicode error.
I found other people with the same issue, but I didn't see any clear resolution to it.
Thisi s on mac os 11.6, python 2.7.18