Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import mapnik with python 3.9 #271

Open
nitincodeworld opened this issue Aug 15, 2023 · 0 comments
Open

Unable to import mapnik with python 3.9 #271

nitincodeworld opened this issue Aug 15, 2023 · 0 comments

Comments

@nitincodeworld
Copy link

Hello Community,

I have successfully build mapnik and mapnik-python binding, however i am getting below error while importing the python, any help is appreciated.

Python 3.9.16 .

import mapnik
Traceback (most recent call last):
File "", line 1, in
File "/home/nitin/.conda/envs/py39/lib/python3.9/site-packages/mapnik-3.0.23-py3.9-linux-x86_64.egg/mapnik/init.py", line 74, in
from ._mapnik import *
ImportError: /home/nitin/.conda/envs/py39/lib/python3.9/site-packages/mapnik-3.0.23-py3.9-linux-x86_64.egg/mapnik/_mapnik.cpython-39-x86_64-linux-gnu.so: undefined symbol: PyClass_Type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant