igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] macport installation of python igraph


From: Gábor Csárdi
Subject: Re: [igraph] macport installation of python igraph
Date: Mon, 9 Apr 2012 11:41:04 -0400

Did you install the igraph C library?

Gabor

On Thu, Apr 5, 2012 at 2:07 PM,  <address@hidden> wrote:
> Particulars:
> OS X: 10.68
> Python: 2.7.2
>
> Using MacPorts to install igraph (after unsuccessfully trying to install 
> using binaries)
>
> curiosity:$ sudo -E port install py27-igraph
> Password:
> ----> etc.
> ----> etc.
>
> no errors on installation except warning:
> -------->
> To make python 2.7 the default (i.e. the version you get when you run
> 'python'), please run: sudo port select --set python python27
>
> Unfortunately when I try to use igraph I get the infamous error response:
>
> curiosity:$ python
> Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from igraph import *
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named igraph
>>>> exit()
>
>
> I suspect this is at least partly a path problem, but I'm running into a wall 
> about what/where things should be.
>
> Thanks in advance.
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

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