<div dir="ltr">Dear all, <div><br></div><div>Me again ! I&#39;m trying to install iGraph to use on FreeCAD&#39;s python console. When asking the question on the dedicated forum, I got the following answer:</div><div><br></div><div><span style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(236,243,247)">Open terminal and type.</span><br style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(236,243,247)"><div class="" style="margin:0px;padding:3px;border:1px solid rgb(201,210,216);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;vertical-align:baseline;color:rgb(51,51,51)"><p style="margin:0px 0px 3px;padding:0px;border-width:0px 0px 1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204);font-style:inherit;font-variant:inherit;font-weight:bold;line-height:1.4em;vertical-align:baseline;text-transform:uppercase;font-size:0.8em!important">CODE: <a href="http://forum.freecadweb.org/viewtopic.php?f=22&amp;t=11605&amp;p=93620#" style="margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;vertical-align:baseline;direction:ltr;text-decoration:none;color:rgb(16,82,137)">SELECT ALL</a></p><code style="margin:2px 0px;padding:5px 0px 0px;border:0px;font-family:Monaco,&#39;Andale Mono&#39;,&#39;Courier New&#39;,Courier,mono;font-size:0.9em;line-height:1.3em;vertical-align:baseline;overflow:auto;display:block;height:auto;max-height:200px;color:rgb(46,139,87)">port install py27-igraph</code></div><span style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(236,243,247)">or</span><div class="" style="margin:0px;padding:3px;border:1px solid rgb(201,210,216);font-family:&#39;Lucida Grande&#39;,&#39;Trebuchet MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;vertical-align:baseline;color:rgb(51,51,51)"><p style="margin:0px 0px 3px;padding:0px;border-width:0px 0px 1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204);font-style:inherit;font-variant:inherit;font-weight:bold;line-height:1.4em;vertical-align:baseline;text-transform:uppercase;font-size:0.8em!important">CODE: <a href="http://forum.freecadweb.org/viewtopic.php?f=22&amp;t=11605&amp;p=93620#" style="margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;vertical-align:baseline;direction:ltr;text-decoration:none;color:rgb(16,82,137)">SELECT ALL</a></p><code style="margin:2px 0px;padding:5px 0px 0px;border:0px;font-family:Monaco,&#39;Andale Mono&#39;,&#39;Courier New&#39;,Courier,mono;font-size:0.9em;line-height:1.3em;vertical-align:baseline;overflow:auto;display:block;height:auto;max-height:200px;color:rgb(46,139,87)">sudo port install py27-igraph</code></div></div><div><br></div><div>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.</div><div>However, when I try to import iGraph in the python console in FreeCAD (which has solely the same version), I got the following error: </div><div><br></div><div><div>Traceback (most recent call last):</div><div>  File &quot;&lt;input&gt;&quot;, line 1, in &lt;module&gt;</div><div>ImportError: No module named igraph</div></div><div><br></div><div><br></div><div>So my question is : is it possible to use MacPorts to install iGraph, but to choose on which python console ? </div><div>The different versions are as follow.</div><div><br></div><div>In FreeCAD: </div><div><div>Python 2.7.5 (default, Jan 20 2014, 20:59:17) </div><div>[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin</div></div><div><br></div><div>Default Python: </div><div><div>Python 2.7.5 (default, Mar  9 2014, 22:15:05) </div><div>[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin</div></div><div><br></div><div>Do you have any idea on how I could reach that goal ? </div><div>Thank you very much in advance !</div><div><br></div><div>Floriane </div><div><br></div><div><br></div></div>