igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] iGraph installed in the wrong python


From: Tamas Nepusz
Subject: Re: [igraph] iGraph installed in the wrong python
Date: Sat, 4 Jul 2015 22:29:07 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

> Indeed, when I try to call igraph from FreeCAD's python console I got the
> following error:
> Traceback (most recent call last):
>   File "<input>", line 1, in <module>
> ImportError: No module named igraph
> 
> Do you know how I could install it in the right console ?
I'm not familar with FreeCAD but as it seems to contain a completely
self-contained Python interpreter that is independent from the system-wide
interpreter, your only option seems to be to install python-igraph into the
Python interpreter bundled with FreeCAD.

I have downloaded FreeCAD on Mac OS X and for me it seems like the file at
/Applications/FreeCAD.app/Contents/bin/FreeCADCmd is actually the Python
interpreter. Theoretically, you could download the source code of the Python
interface of igraph from http://pypi.python.org/pypi/python-igraph, extract it
and then try to run "setup.py install" with FreeCADCmd as the Python
interpreter instead of the system Python; something like:

/Applications/FreeCAD.app/Contents/bin/FreeCADCmd setup.py install

However, this just threw an exception on my machine. On the other hand, trying
to launch FreeCAD itself also threw the same exception on my machine, so it
could be the case that my machine is not compatible with FreeCAD. Anyway, I'm
kinda stuck here. You can probably get more help on the FreeCAD mailing list
(if they have one).

T.



reply via email to

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