Hi All,

I've been trying to install igraph into Canopy and I keep getting the same error. I've gone through as many help pages as I can on this and can't figure it out. This does seem to be a fairly common error, I'm hoping for a simple solution, I just don't seem be able to resolve it.

Anyway, everything seems to compile without errors but when I try to import igraph I get the following error.


   /import igraph/
   /---------------------------------------------------------------------------/
   /ImportError                               Traceback (most recent
   call last)/
   /<ipython-input-1-8e950eb5d8d8> in <module>()/
   /----> 1 import igraph/

   
//Users/bconn/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/python_igraph-0.7.0-py2.7-macosx-10.6-x86_64.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(/Users/bconn/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/python_igraph-0.7.0-py2.7-macosx-10.6-x86_64.egg/igraph/_igraph.so,
   2): Symbol not found: ___emutls_get_address/
   /  Referenced from:
   
/Users/bconn/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/python_igraph-0.7.0-py2.7-macosx-10.6-x86_64.egg/igraph/_igraph.so/
   /  Expected in: flat namespace/
   /in
   
/Users/bconn/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/python_igraph-0.7.0-py2.7-macosx-10.6-x86_64.egg/igraph/_igraph.so
   /


I have installed both C versions 0.7.1 (by mistake) and then 0.7.0

I've done this from source using the .configure, make, make check, make install.

Then I've run the python setup.py install -- this uses the Canopy python so it puts all the libraries in the Canopy path.

I've done all this multiple times now so I'm not sure what order things have happened now.

I have noticed it says it can't find the C core during installation and I no idea how to get it to find that.

   /python setup.py install/
   /running install/
   /running bdist_egg/
   /running egg_info/
   /writing python_igraph.egg-info/PKG-INFO/
   /writing top-level names to python_igraph.egg-info/top_level.txt/
   /writing dependency_links to
   python_igraph.egg-info/dependency_links.txt/
   /reading manifest file 'python_igraph.egg-info/SOURCES.txt'/
   /reading manifest template 'MANIFEST.in'/
   /writing manifest file 'python_igraph.egg-info/SOURCES.txt'/
   /installing library code to build/bdist.macosx-10.6-x86_64/egg/
   /running install_lib/
   /running build_py/
   /running build_ext/
   /*Cannot find the C core of igraph on this system using pkg-config.*/
   /Build type: static extension/
   /Include path: igraphcore/include/
   /Library path: igraphcore/lib /usr/local/lib /usr/lib/
   /Linked dynamic libraries: xml2 z m/
   /Linked static libraries: igraphcore/lib/libigraph.a
   /usr/local/lib/libstdc++.a/

Any and all ideas would be welcome.

Cheers,
Blair

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to