Updated MacInstallation_Homebrew (markdown)

jeroenh 2013-02-10 08:25:58 -08:00
parent 2d38464bd7
commit 72c9f27621

@ -65,7 +65,7 @@ Note that on Lion, we need to be more explicit about SQLite. Change version as
After you install mapnik, you may try to import it and get `Fatal Python error: Interpreter not initialized (version mismatch?)`. If so, you likely have boost linked with the wrong version of python. To see what version of python boost is linked from, try: After you install mapnik, you may try to import it and get `Fatal Python error: Interpreter not initialized (version mismatch?)`. If so, you likely have boost linked with the wrong version of python. To see what version of python boost is linked from, try:
```sh ```sh
otool -L `brew list boost | grep python.*dylib` | grep -i python otool -L `brew list boost | grep python-mt.dylib` | grep -i python
``` ```
It's likely that your copy of boost was linked against the system python, but you're trying to use a homebrew python. To fix, uninstall boost, and reinstall with --build-from-source: It's likely that your copy of boost was linked against the system python, but you're trying to use a homebrew python. To fix, uninstall boost, and reinstall with --build-from-source: