igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] igraph visualization


From: Ahmed Abdeen Hamed
Subject: Re: [igraph] igraph visualization
Date: Sun, 10 Nov 2013 10:36:12 -0500

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 <address@hidden> 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/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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]