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

Install on OS X Mavericks #100

Open
JoergPf opened this issue Jan 15, 2014 · 2 comments
Open

Install on OS X Mavericks #100

JoergPf opened this issue Jan 15, 2014 · 2 comments

Comments

@JoergPf
Copy link

JoergPf commented Jan 15, 2014

Hi, I tried this guide
http://www.kartograph.org/docs/kartograph.py/install-macosx.html
and this guide
http://tumblr.pauladamsmith.com/post/17663153373/howtoinstallgdalshapely

to install kartograph on os X Mavericks 10.9.1 but I only get errors.

I adjusted the paths
(CFLAGS=/Library/Frameworks/GDAL.framework/Versions/1.8/Programs/gdal-config --cflags

is now

CFLAGS=/Library/Frameworks/GDAL.framework/Versions/1.10/Programs/gdal-config --cflags )

but still only errors.....

Is there anywhere an updated howto?

Best
Joerg

@alexlouden
Copy link

Hey Joerg - are you still having troubles? I just installed kartograph successfully on Mavericks:

Outside virtualenv:

brew install gdal
pip install gdal

Create virtual env allowing system packages:

mkvirtualenv myproject --system-site-packages
workon myproject

Then install Kartograph:

pip install -r https://raw.github.com/kartograph/kartograph.py/master/requirements.txt
pip install https://github.com/kartograph/kartograph.py/zipball/master

@kieranajp
Copy link

👍 Thanks @alexlouden, this worked perfectly on a fresh Ubuntu 12.04 VM.

To reiterate, the trick is to install gdal outside of the virtualenv, and then create it with the --system-site-packages flag.

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

3 participants