igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] install igraph 0.6 nightly build


From: Simone Gabbriellini
Subject: Re: [igraph] install igraph 0.6 nightly build
Date: Fri, 21 Jan 2011 15:43:00 +0100

sorry, I am still stuck with this installation... I have changed directory, and 
the error I got back to the previous error:

In [1]: import igraph
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Users/ogabbrie/<ipython console> in <module>()

/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/python_igraph-0.6-py2.6-macosx-10.5-i386.egg/igraph/__init__.py
 in <module>()
     32 # pylint: disable-msg=W0401

     33 # W0401: wildcard import

---> 34 from igraph._igraph import *
     35 from igraph._igraph import __version__, __build_date__
     36 from igraph.clustering import *

ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/python_igraph-0.6-py2.6-macosx-10.5-i386.egg/igraph/_igraph.so,
 2): Symbol not found: _igraph_eit_destroy
  Referenced from: 
/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/python_igraph-0.6-py2.6-macosx-10.5-i386.egg/igraph/_igraph.so
  Expected in: flat namespace
 in 
/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/python_igraph-0.6-py2.6-macosx-10.5-i386.egg/igraph/_igraph.so

I cleaned the system before rerunning the install, like:

molly-pro:~ ogabbrie$ sudo find / -name "libigraph.dylib*" -print
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
molly-pro:~ ogabbrie$ 

shouldn't this mean that the file has not been found? Should I look somewhere 
else? with other bash commands?

thanks,
Simone.

Il giorno 20/gen/2011, alle ore 21.10, Tamás Nepusz ha scritto:

> Go to a different folder, not to the one where you executed setup.py. The 
> reason is that Python will try to import the "igraph" subfolder from the 
> source distribution, which obviously does not have an _igraph.so there -- 
> it's already been installed somewhere in 
> /Library/Framework/Python.framework/...
> 
> -- 
> T.
> 
> On 20 Jan 2011, at 20:33, Simone Gabbriellini wrote:
> 
>> thanks!
>> 
>> ok, done! but now I have:
>> 
>>>>> import igraph
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> File "igraph/__init__.py", line 34, in <module>
>>   from igraph._igraph import *
>> ImportError: No module named _igraph
>> 
>> best,
>> simone
>> 
>> Il giorno 20/gen/2011, alle ore 20.04, Tamás Nepusz ha scritto:
>> 
>>> Hello,
>>> 
>>> This seems to be a classic error that has popped up many times in the 
>>> mailing list recently. The problem is usually that you have another copy of 
>>> the old (0.5.4) igraph C library lying around and the Python interface 
>>> tries to link to that. Search your computer for copies of libigraph.dylib*, 
>>> delete all of them, reinstall the C core and you should be fine.
>>> 
>>> -- 
>>> Tamas
>>> 
>>> On 20 Jan 2011, at 19:59, Simone Gabbriellini wrote:
>>> 
>>>> hello,
>>>> 
>>>> I don't know if you give support for this problem, since it is not a 
>>>> released version, but after installing the 
>>>> igraph-nightly-0.6-2269-20110115.tar.gz C core and the 
>>>> python-igraph_nightly_0.6-2269-20110115.tar.gz Python source, I have this 
>>>> error:
>>>> 
>>>> Traceback (most recent call last):
>>>> File "<stdin>", line 1, in <module>
>>>> File 
>>>> "/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/python_igraph-0.6-py2.6-macosx-10.5-i386.egg/igraph/__init__.py",
>>>>  line 34, in <module>
>>>> from igraph._igraph import *
>>>> ImportError: 
>>>> dlopen(/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/python_igraph-0.6-py2.6-macosx-10.5-i386.egg/igraph/_igraph.so,
>>>>  2): Symbol not found: _igraph_eit_destroy
>>>> Referenced from: 
>>>> /Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/python_igraph-0.6-py2.6-macosx-10.5-i386.egg/igraph/_igraph.so
>>>> Expected in: flat namespace
>>>> in 
>>>> /Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/python_igraph-0.6-py2.6-macosx-10.5-i386.egg/igraph/_igraph.so
>>>> 
>>>> best,
>>>> Simone
>>>> _______________________________________________
>>>> igraph-help mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> igraph-help mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>> 
>> 
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>> 
> 
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help




reply via email to

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