[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] igraph visualization
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] igraph visualization |
Date: |
Mon, 5 May 2014 22:25:40 +0200 |
Have you compiled igraph with Homebrew’s Python or with the system Python? The
version compiled with the system Python won’t work with Homebrew’s Python and
vice versa.
--
T.
------------------------------------------------------
From: Ahmed Abdeen Hamed address@hidden
Reply:address@hidden address@hidden
Date: 5 May 2014 at 22:07:41
To: Tamás Nepusz address@hidden
Cc: Help for igraph users address@hidden
Subject: Re: [igraph] igraph visualization
> My apology for writing back to a very old message, but I am running into
> this problem below again. I added the python homebrew to my path but still
> grabbing the system's package
>
>
> Here is my path:
>
> PATH="${PATH}"
>
> export PATH=/usr/local/lib/python2.7/site-packages:$PATH
>
>
> when checking "which python" i get /usr/bin/python not the brew one.
>
> Obviously I am still unable to get it up and running again :-(
>
>
> -Ahmed
>
>
>
> On Sun, Nov 10, 2013 at 1:25 PM, Tamás Nepusz wrote:
>
> > FWIW, I managed to run “brew install py2cairo” without having to install a
> > brew-based Python. I simply added “/usr/local/lib/python2.7/site-packages”
> > on my Python path and it imports the cairo module just fine.
> >
> > This seems to be confirmed by Homebrew’s wiki:
> >
> > “If you have a brewed python, then the bindings are installed for that
> > one. But if you don't have a brewed Python, Homebrew basically just uses
> > the first python (and python-config) in your PATH. Check that by which
> > python.”
> >
> >
> > https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python#homebrew-provided-python-bindings
> >
> >
> > So, basically, I think you simply have to add
> > /usr/local/lib/python2.7/site-packages to your PYTHONPATH and you should be
> > fine.
> >
> > —
> > T.
> >
>