Thank you for your response. I tried the Homebrew before and it didn't work. Here is what I receive when I issue the command. Do you think this is due to the gcc outdated compiler?
Ahmeds-MacBook-Pro:~ ahamedCOM$ brew install py2cairo Warning: Your Xcode (4.6) is outdated Please update to Xcode 4.6.3. Xcode can be updated from the App Store. Warning: You seem to have osx-gcc-installer installed. Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and is an unlicensed distribution of really old Xcode files. Please install the CLT or Xcode 4.6.3. Warning: It appears you have MacPorts or Fink installed. Software installed with other package managers causes known problems for Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again. ==> Downloading http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2 Already downloaded: /Library/Caches/Homebrew/py2cairo-1.10.0.tar.bz2 ==> ./waf configure --prefix=/usr/local/Cellar/py2cairo/1.10.0 --nopyc --nopyo Checking for header Python.h : Could not find the python development headers The configuration failed (complete log in /private/tmp/py2cairo-1cxP/py2cairo-1.10.0/build_directory/config.log) ./options() ./configure() READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting Ahmeds-MacBook-Pro:~ ahamedCOM$ On Sun, Nov 10, 2013 at 6:30 AM, Tamás Nepusz <[email protected]> wrote: > Hi, > > I have been using Cairo 1.12.16 and the corresponding Python interface > happily on a Mac ever since OS X 10.6. All you have to do to make the > plotting work is to install it somehow. I highly recommend using Homebrew > for this; see the following page: > > http://brew.sh > > Once you installed Homebrew, you can simply type “brew install py2cairo” > in the command line; Homebrew will download and compile Cairo and its > Python interface as well as all the required dependencies. If you still > want to go through all the hassle manually, here’s a script that’s supposd > to work: > > http://alexstroubleshooting.blogspot.hu<http://alexstroubleshooting.blogspot.hu/2012/05/installing-pycairo-or-py2cairo-on-os-x.html> > /2012/05/installing-pycairo-or-py2cairo-on-os-x.html<http://alexstroubleshooting.blogspot.hu/2012/05/installing-pycairo-or-py2cairo-on-os-x.html> > > Alternatively, there are pre-compiled binaries for Cairo: > > http://www.kyngchaos.com/software/frameworks > > (Note that the Cairo framework as published above requires the FreeType > framework and the UnixImageIO framework so install those first). The Cairo > framework in the above page should contain the Cairo module as well. > > All the best, > — > T. >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
