I also tried python2.7 installed from Homebrew and I get the following:

Kimons-MacBook-Pro:graph-tool-2.25 kimonfountoulakis$ python
Python 2.7.10 (default, Feb  7 2017, 00:08:15) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> 
>>> import graph_tool
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/__init__.py",
line 104, in <module>
    import numpy
  File
"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.py",
line 142, in <module>
    from . import add_newdocs
  File
"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/add_newdocs.py",
line 13, in <module>
    from numpy.lib import add_newdoc
  File
"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/__init__.py",
line 8, in <module>
    from .type_check import *
  File
"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/type_check.py",
line 11, in <module>
    import numpy.core.numeric as _nx
  File
"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/__init__.py",
line 33, in <module>
    from . import _internal  # for freeze programs
  File
"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/_internal.py",
line 14, in <module>
    import ctypes
  File
"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError:
dlopen(/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so,
2): Symbol not found: __PySlice_AdjustIndices
  Referenced from:
/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
  Expected in: flat namespace
 in
/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so





--
Sent from: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to