Tag: mapnik

Homebrew + Python的Mac OS X 10.8:致命的Python错误:PyThreadState_Get:当前没有线程导入mapnik

我在我的Mac(10.8.3)上有2个python:默认和自制软件的2.7版本。 到目前为止,我可以安装模块并将其与我的brew python一起使用。 我用brew install mapnik (mapnik-2.1.0) brew install mapnik ,编译正确。 但是,如果我打开python并inputimport mapnik ,则出现以下错误,python退出: >>> import mapnik Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6 Mac OS x还显示一个错误窗口,其中包含以下内容: Process: Python [60666] Path: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 2.7.3 (2.7.3) Code Type: X86-64 (Native) Parent Process: bash [60454] User ID: 501 Date/Time: 2013-03-28 10:21:08.535 +0100 […]