Installing igraph to use on FreeCAD

Floriane B flo.bru447 at
Fri Jul 3 11:34:02 PDT 2015

Dear all,

Me again ! I'm trying to install iGraph to use on FreeCAD's python console.
When asking the question on the dedicated forum, I got the following answer:

Open terminal and type.

port install py27-igraph

sudo port install py27-igraph

I installed igraph using Macports, and it is now available for me to use on
the default python interface of my computer, Python 2.7.5.
However, when I try to import iGraph in the python console in FreeCAD
(which has solely the same version), I got the following error:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: No module named igraph

So my question is : is it possible to use MacPorts to install iGraph, but
to choose on which python console ?
The different versions are as follow.

In FreeCAD:
Python 2.7.5 (default, Jan 20 2014, 20:59:17)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin

Default Python:
Python 2.7.5 (default, Mar  9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin

Do you have any idea on how I could reach that goal ?
Thank you very much in advance !

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list