Programmers learn & share
0 votes
117 views

Problem :

 When I open python and enter import mapnik, the following error comes and python exits:
>>> import mapnik
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
by (6.9k points)   | 117 views

1 Answer

0 votes

Solution :

I have faced the same problem between python27-apple and python27. 

I followed bellow steps and it worked for me:

sudo port select --list python

Then,

sudo port select python python27-apple

 To double check,

sudo port select --list python

And the python crash had gone when I ran the scripts.

Further Readings:

https://github.com/facebookarchive/caffe2/issues/854

by (36.1k points)  
edited by
2,187 questions
2,514 answers
59 comments
241 users