Comments (14)
I tried to find some solutions to fix this bug and tried many ways. And this command successfully makes GMatch4py installed in my Mac which inspired from here
sudo CFLAGS=-stdlib=libc++ python3 setup.py install
But I don't think this is a good solution, As there are many warnings generated.
Hope can hear a better solution from you. Thanks a lot.
(py36) veradeMacBook-Pro:GMatch4py vera$ sudo CFLAGS=-stdlib=libc++ python3 setup.py install
/anaconda3/envs/py36/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
/anaconda3/envs/py36/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'setup_requires'
warnings.warn(msg)
/anaconda3/envs/py36/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_ext
building 'gmatch4py.kernels.weisfeiler_lehman' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/kernels/weisfeiler_lehman.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/weisfeiler_lehman.o
In file included from gmatch4py/kernels/weisfeiler_lehman.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/weisfeiler_lehman.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/weisfeiler_lehman.cpython-36m-darwin.so
building 'gmatch4py.kernels.shortest_path_kernel' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/kernels/shortest_path_kernel.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/shortest_path_kernel.o
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/shortest_path_kernel.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/shortest_path_kernel.cpython-36m-darwin.so
building 'gmatch4py.vertex_ranking' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/vertex_ranking.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/vertex_ranking.o
In file included from gmatch4py/vertex_ranking.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/vertex_ranking.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/vertex_ranking.cpython-36m-darwin.so
building 'gmatch4py.vertex_edge_overlap' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/vertex_edge_overlap.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/vertex_edge_overlap.o
In file included from gmatch4py/vertex_edge_overlap.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/vertex_edge_overlap.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/vertex_edge_overlap.cpython-36m-darwin.so
building 'gmatch4py.deltacon' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/deltacon.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/deltacon.o
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/deltacon.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/deltacon.cpython-36m-darwin.so
building 'gmatch4py.base' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/base.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/base.o
In file included from gmatch4py/base.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/base.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/base.cpython-36m-darwin.so
building 'gmatch4py.mcs' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/mcs.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/mcs.o
In file included from gmatch4py/mcs.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/mcs.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/mcs.cpython-36m-darwin.so
building 'gmatch4py.bag_of_cliques' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/bag_of_cliques.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/bag_of_cliques.o
In file included from gmatch4py/bag_of_cliques.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/bag_of_cliques.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/bag_of_cliques.cpython-36m-darwin.so
building 'gmatch4py.bon' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/bon.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/bon.o
In file included from gmatch4py/bon.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/bon.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/bon.cpython-36m-darwin.so
building 'gmatch4py.alg_types' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/alg_types.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/alg_types.o
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/alg_types.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/alg_types.cpython-36m-darwin.so
building 'gmatch4py.helpers.reader' extension
creating build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/helpers/reader.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/reader.o
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/reader.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/reader.cpython-36m-darwin.so
building 'gmatch4py.helpers.compute_similarity_matrix' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/helpers/compute_similarity_matrix.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/compute_similarity_matrix.o
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/compute_similarity_matrix.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/compute_similarity_matrix.cpython-36m-darwin.so
building 'gmatch4py.helpers.generate_config' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/helpers/generate_config.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/generate_config.o
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/generate_config.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/generate_config.cpython-36m-darwin.so
building 'gmatch4py.jaccard' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/jaccard.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/jaccard.o
In file included from gmatch4py/jaccard.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/jaccard.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/jaccard.cpython-36m-darwin.so
building 'gmatch4py.ged.graph_edit_dist' extension
creating build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/graph_edit_dist.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/graph_edit_dist.o
In file included from gmatch4py/ged/graph_edit_dist.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
creating build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/graph_edit_dist.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/graph_edit_dist.cpython-36m-darwin.so
building 'gmatch4py.ged.bipartite_graph_matching_2' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/bipartite_graph_matching_2.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/bipartite_graph_matching_2.o
In file included from gmatch4py/ged/bipartite_graph_matching_2.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/bipartite_graph_matching_2.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/bipartite_graph_matching_2.cpython-36m-darwin.so
building 'gmatch4py.ged.greedy_edit_distance' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/greedy_edit_distance.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.o
In file included from gmatch4py/ged/greedy_edit_distance.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.cpython-36m-darwin.so
building 'gmatch4py.ged.hausdorff_edit_distance' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/hausdorff_edit_distance.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/hausdorff_edit_distance.o
In file included from gmatch4py/ged/hausdorff_edit_distance.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/hausdorff_edit_distance.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/hausdorff_edit_distance.cpython-36m-darwin.so
building 'gmatch4py.ged.abstract_graph_edit_dist' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/abstract_graph_edit_dist.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/abstract_graph_edit_dist.o
In file included from gmatch4py/ged/abstract_graph_edit_dist.cpp:647:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823:
/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:
"Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
1 warning generated.
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/abstract_graph_edit_dist.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/abstract_graph_edit_dist.cpython-36m-darwin.so
running install_lib
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/bag_of_cliques.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
creating /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/kernels
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/shortest_path_kernel.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/kernels
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/random_walk_kernel.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/kernels
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/weisfeiler_lehman.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/kernels
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/mcs.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/bon.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/base.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/deltacon.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/alg_types.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/jaccard.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/vertex_edge_overlap.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
creating /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/__init__.py -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/reader.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/generate_config.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/compute_similarity_matrix.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/vertex_ranking.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py
creating /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/abstract_graph_edit_dist.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/graph_edit_dist.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/bipartite_graph_matching_2.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/hausdorff_edit_distance.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged
byte-compiling /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/__init__.py to __init__.cpython-36.pyc
byte-compiling /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers/__init__.py to __init__.cpython-36.pyc
running install_egg_info
Writing /anaconda3/envs/py36/lib/python3.6/site-packages/GMatch4py-0.2.2-py3.6.egg-info
Then input python
(py36) veradeMacBook-Pro:GMatch4py vera$ python
Python 3.6.7 |Anaconda, Inc.| (default, Oct 23 2018, 14:01:38)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import GMatch4py
>>> exit()
from gmatch4py.
Hi @verazuo, did you install Xcode Command Line Tools (xcode select --install
) ?
from gmatch4py.
For the compilation warning, don't worry about it 😄 it should not affect the module! However, for the CFLAG parameter, it is weird! Did you try to install the Xcode Command Line tools? Normally, it should contain add stdlibc++ to your system.
from gmatch4py.
Hi @verazuo, did you install Xcode Command Line Tools (
xcode select --install
) ?
I guess I didn't install Xcode Command Line Tools in my computer.
(py36) veradeMacBook-Pro:GMatch4py vera$ xcode select --install
-bash: xcode: command not found
Should I install it?
from gmatch4py.
oops x) I gave you the wrong command !
This one should work : xcode-select --install
from gmatch4py.
Oh then I guess I have installed it
(py36) veradeMacBook-Pro:GMatch4py vera$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
from gmatch4py.
Hummm.... From what I found, it seems that the last update of mac OS is responsible : pandas-dev/pandas#23424 (comment)
Maybe it can be fixed using this solution : pandas-dev/pandas#23424 (comment)
from gmatch4py.
Thanks @Jacobe2169 , I guess I will try later ...
from gmatch4py.
hi @Jacobe2169 , sorry for bothering you again.
I meet another problem with GMatch4py.
When I run this command
import GMatch4py as gm
ged=gm.GraphEditDistance(1,1,1,1)
There is a error throw out:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'GMatch4py' has no attribute 'GraphEditDistance'
Do you have any idea about it ? Thx
from gmatch4py.
I fixed it.
I think the bug might be caused by the package path and the installation environment.
When gmatch4py
is installed, the code import gmatch4py as gm
will still points to the GMatch4py-master
directory but not /site-packages/gmatch4py
directory
Actually, you need to make sure below steps has been executed.
- Download code from this github repository
- cd into it
sudo CFLAGS=-stdlib=libc++ python3 setup.py install
- delete the code from this github repository
- clear the trash
- restart the terminal
Then things will be ok.
Below is the entire possible installation process.
I reinstall GMatch4py in my conda base
environment by this command. ( Before I install GMatch4py in my conda py36
environment )
veradeMacBook-Pro:GMatch4py$ sudo CFLAGS=-stdlib=libc++ python3 setup.py install
The warning is similar to this one.
I noticed that gmatch4py is copied to anaconda envs.
copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.cpython-36m-darwin.so -> /anaconda3/lib/python3.7/site-packages/gmatch4py/ged
And when I try to import gmatch4py
, it tells me
veradeMacBook-Pro:GMatch4py vera$ python
Python 3.6.7 |Anaconda, Inc.| (default, Oct 23 2018, 14:01:38)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gmatch4py as gm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/vera/Downloads/GMatch4py/gmatch4py/__init__.py", line 4, in <module>
from .ged.graph_edit_dist import *
ModuleNotFoundError: No module named 'gmatch4py.ged.graph_edit_dist'
I guess maybe when I import gmatch4py, it automatically points to /GMatch4py/
. So I delete all code of ./GMatch4py/
(code downloaded from this github repository), and keep code in /anaconda3/lib/python3.7/site-packages/gmatch4py
.
Clear the trash (Otherwise the code import gmatch4py
will still be led to the /.trash/GMatch4py/
directory)
Try to import it again, I get this.
>>> import gmatch4py as gm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/__init__.py", line 4, in <module>
from .ged.graph_edit_dist import *
ModuleNotFoundError: No module named 'gmatch4py.ged.graph_edit_dist'
I have no idea about this situation, so I restart the terminal.
Then everything is OK.
veradeMacBook-Pro:~ vera$ python
Python 3.7.0 (default, Jun 28 2018, 07:39:16)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import networkx as nx
>>> import gmatch4py as gm
>>> g1=nx.complete_bipartite_graph(5,4)
>>> g2=nx.complete_bipartite_graph(6,4)
>>> ged=gm.GraphEditDistance(1,1,1,1) # all edit costs are equal to 1
>>> result=ged.compare([g1,g2],None)
>>> print(result)
[[ 0. 14.]
[10. 0.]]
>>>
I also tried the above operation in conda py36
environment and successfully installed gmatch4py
.
from gmatch4py.
Hi @verazuo,
Thanks for the detailed post! 😄
I'll add the CFLAGS=-stdlib=libc++
for Mojave users in the readme!
The import issue Basically, Gmatch4Py
used Cython, a C/Python binding module which decrease the execution time of the algorithms. To use "Cythonized" module, one must go through a compilation process. Since the installation process includes the compilation, Gmatch4py source code can be used as it is. So when you're importing the module from the git directory, it's using the non-compiled format, hence Python can't interpret it. I will add a section in the readme file on this issue 😄
The trash clearing and the term restarting operations I'm wondering, between the directory deletion and the new import did you close the python terminal? If not, it is weird that restarting the terminal resolve the issue... or maybe anaconda is acting weird.
I personally use Python basic installation and official package manager pip
but it's nice to know it's work also on Anaconda configurations.
Again thanks a lot for your feedback!
from gmatch4py.
I pushed a modification of the setup.py
in the last version: 4cea92b
Can you check if it's working without the CFLAG ?
from gmatch4py.
Sure, I create a new conda envs named test
.
And download this github repository after your modification. But the code seems didn't work at my test
envs.
(test) veradeMacBook-Pro:GMatch4py-master vera$ sudo python3 setup.py install
Compiling gmatch4py/kernels/random_walk_kernel.pyx because it changed.
Compiling gmatch4py/kernels/weisfeiler_lehman.pyx because it changed.
Compiling gmatch4py/kernels/shortest_path_kernel.pyx because it changed.
Compiling gmatch4py/vertex_ranking.pyx because it changed.
Compiling gmatch4py/vertex_edge_overlap.pyx because it changed.
Compiling gmatch4py/deltacon.pyx because it changed.
Compiling gmatch4py/base.pyx because it changed.
Compiling gmatch4py/mcs.pyx because it changed.
Compiling gmatch4py/bag_of_cliques.pyx because it changed.
Compiling gmatch4py/bon.pyx because it changed.
Compiling gmatch4py/alg_types.pyx because it changed.
Compiling gmatch4py/helpers/reader.pyx because it changed.
Compiling gmatch4py/helpers/compute_similarity_matrix.pyx because it changed.
Compiling gmatch4py/helpers/generate_config.pyx because it changed.
Compiling gmatch4py/jaccard.pyx because it changed.
Compiling gmatch4py/ged/graph_edit_dist.pyx because it changed.
Compiling gmatch4py/ged/bipartite_graph_matching_2.pyx because it changed.
Compiling gmatch4py/ged/greedy_edit_distance.pyx because it changed.
Compiling gmatch4py/ged/hausdorff_edit_distance.pyx because it changed.
Compiling gmatch4py/ged/abstract_graph_edit_dist.pyx because it changed.
[ 1/20] Cythonizing gmatch4py/alg_types.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/alg_types.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[ 2/20] Cythonizing gmatch4py/bag_of_cliques.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/bag_of_cliques.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[ 3/20] Cythonizing gmatch4py/base.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: ./gmatch4py/base.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
[ 4/20] Cythonizing gmatch4py/bon.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/bon.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[ 5/20] Cythonizing gmatch4py/deltacon.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/deltacon.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[ 6/20] Cythonizing gmatch4py/ged/abstract_graph_edit_dist.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: ./gmatch4py/ged/abstract_graph_edit_dist.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
[ 7/20] Cythonizing gmatch4py/ged/bipartite_graph_matching_2.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/ged/bipartite_graph_matching_2.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[ 8/20] Cythonizing gmatch4py/ged/graph_edit_dist.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: ./gmatch4py/ged/graph_edit_dist.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
[ 9/20] Cythonizing gmatch4py/ged/greedy_edit_distance.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/ged/greedy_edit_distance.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[10/20] Cythonizing gmatch4py/ged/hausdorff_edit_distance.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/ged/hausdorff_edit_distance.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[11/20] Cythonizing gmatch4py/helpers/compute_similarity_matrix.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/helpers/compute_similarity_matrix.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[12/20] Cythonizing gmatch4py/helpers/generate_config.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/helpers/generate_config.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[13/20] Cythonizing gmatch4py/helpers/reader.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/helpers/reader.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[14/20] Cythonizing gmatch4py/jaccard.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/jaccard.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[15/20] Cythonizing gmatch4py/kernels/random_walk_kernel.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/kernels/random_walk_kernel.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[16/20] Cythonizing gmatch4py/kernels/shortest_path_kernel.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/kernels/shortest_path_kernel.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[17/20] Cythonizing gmatch4py/kernels/weisfeiler_lehman.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/kernels/weisfeiler_lehman.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[18/20] Cythonizing gmatch4py/mcs.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/mcs.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[19/20] Cythonizing gmatch4py/vertex_edge_overlap.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/vertex_edge_overlap.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
[20/20] Cythonizing gmatch4py/vertex_ranking.pyx
/anaconda3/envs/test/lib/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/vera/Downloads/GMatch4py-master/gmatch4py/vertex_ranking.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
/anaconda3/envs/test/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
/anaconda3/envs/test/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'setup_requires'
warnings.warn(msg)
/anaconda3/envs/test/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/gmatch4py
copying gmatch4py/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/gmatch4py
creating build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers
copying gmatch4py/helpers/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers
running build_ext
building 'gmatch4py.kernels.random_walk_kernel' extension
creating build/temp.macosx-10.7-x86_64-3.6
creating build/temp.macosx-10.7-x86_64-3.6/gmatch4py
creating build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/envs/test/include -arch x86_64 -I/anaconda3/envs/test/include -arch x86_64 -I/anaconda3/envs/test/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/test/include/python3.6m -c gmatch4py/kernels/random_walk_kernel.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/random_walk_kernel.o -stdlib=libc++
creating build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels
g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/test/lib -arch x86_64 -L/anaconda3/envs/test/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/random_walk_kernel.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/random_walk_kernel.cpython-36m-darwin.so
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
The error log is as the same as before.
And for the part of the trash clearing and the term restarting operations, I cannot remember the detail, but I guess I didn't close the python terminal. So maybe you are right.
from gmatch4py.
I tried to find some solutions to fix this bug and tried many ways. And this command successfully makes GMatch4py installed in my Mac which inspired from here
sudo CFLAGS=-stdlib=libc++ python3 setup.py install
But I don't think this is a good solution, As there are many warnings generated.
Hope can hear a better solution from you. Thanks a lot.(py36) veradeMacBook-Pro:GMatch4py vera$ sudo CFLAGS=-stdlib=libc++ python3 setup.py install /anaconda3/envs/py36/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) /anaconda3/envs/py36/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'setup_requires' warnings.warn(msg) /anaconda3/envs/py36/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running build running build_py running build_ext building 'gmatch4py.kernels.weisfeiler_lehman' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/kernels/weisfeiler_lehman.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/weisfeiler_lehman.o In file included from gmatch4py/kernels/weisfeiler_lehman.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/weisfeiler_lehman.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/weisfeiler_lehman.cpython-36m-darwin.so building 'gmatch4py.kernels.shortest_path_kernel' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/kernels/shortest_path_kernel.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/shortest_path_kernel.o g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/kernels/shortest_path_kernel.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/shortest_path_kernel.cpython-36m-darwin.so building 'gmatch4py.vertex_ranking' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/vertex_ranking.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/vertex_ranking.o In file included from gmatch4py/vertex_ranking.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/vertex_ranking.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/vertex_ranking.cpython-36m-darwin.so building 'gmatch4py.vertex_edge_overlap' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/vertex_edge_overlap.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/vertex_edge_overlap.o In file included from gmatch4py/vertex_edge_overlap.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/vertex_edge_overlap.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/vertex_edge_overlap.cpython-36m-darwin.so building 'gmatch4py.deltacon' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/deltacon.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/deltacon.o g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/deltacon.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/deltacon.cpython-36m-darwin.so building 'gmatch4py.base' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/base.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/base.o In file included from gmatch4py/base.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/base.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/base.cpython-36m-darwin.so building 'gmatch4py.mcs' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/mcs.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/mcs.o In file included from gmatch4py/mcs.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/mcs.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/mcs.cpython-36m-darwin.so building 'gmatch4py.bag_of_cliques' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/bag_of_cliques.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/bag_of_cliques.o In file included from gmatch4py/bag_of_cliques.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/bag_of_cliques.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/bag_of_cliques.cpython-36m-darwin.so building 'gmatch4py.bon' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/bon.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/bon.o In file included from gmatch4py/bon.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/bon.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/bon.cpython-36m-darwin.so building 'gmatch4py.alg_types' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/alg_types.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/alg_types.o g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/alg_types.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/alg_types.cpython-36m-darwin.so building 'gmatch4py.helpers.reader' extension creating build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/helpers/reader.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/reader.o g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/reader.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/reader.cpython-36m-darwin.so building 'gmatch4py.helpers.compute_similarity_matrix' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/helpers/compute_similarity_matrix.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/compute_similarity_matrix.o g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/compute_similarity_matrix.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/compute_similarity_matrix.cpython-36m-darwin.so building 'gmatch4py.helpers.generate_config' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/helpers/generate_config.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/generate_config.o g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/helpers/generate_config.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/generate_config.cpython-36m-darwin.so building 'gmatch4py.jaccard' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/jaccard.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/jaccard.o In file included from gmatch4py/jaccard.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/jaccard.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/jaccard.cpython-36m-darwin.so building 'gmatch4py.ged.graph_edit_dist' extension creating build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/graph_edit_dist.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/graph_edit_dist.o In file included from gmatch4py/ged/graph_edit_dist.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. creating build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/graph_edit_dist.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/graph_edit_dist.cpython-36m-darwin.so building 'gmatch4py.ged.bipartite_graph_matching_2' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/bipartite_graph_matching_2.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/bipartite_graph_matching_2.o In file included from gmatch4py/ged/bipartite_graph_matching_2.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/bipartite_graph_matching_2.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/bipartite_graph_matching_2.cpython-36m-darwin.so building 'gmatch4py.ged.greedy_edit_distance' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/greedy_edit_distance.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.o In file included from gmatch4py/ged/greedy_edit_distance.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.cpython-36m-darwin.so building 'gmatch4py.ged.hausdorff_edit_distance' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/hausdorff_edit_distance.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/hausdorff_edit_distance.o In file included from gmatch4py/ged/hausdorff_edit_distance.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/hausdorff_edit_distance.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/hausdorff_edit_distance.cpython-36m-darwin.so building 'gmatch4py.ged.abstract_graph_edit_dist' extension gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include -I/anaconda3/envs/py36/include/python3.6m -c gmatch4py/ged/abstract_graph_edit_dist.cpp -o build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/abstract_graph_edit_dist.o In file included from gmatch4py/ged/abstract_graph_edit_dist.cpp:647: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18: In file included from /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1823: /anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated. g++ -bundle -undefined dynamic_lookup -L/anaconda3/envs/py36/lib -arch x86_64 -L/anaconda3/envs/py36/lib -arch x86_64 -stdlib=libc++ -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/gmatch4py/ged/abstract_graph_edit_dist.o -o build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/abstract_graph_edit_dist.cpython-36m-darwin.so running install_lib copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/bag_of_cliques.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py creating /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/kernels copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/shortest_path_kernel.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/kernels copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/random_walk_kernel.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/kernels copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/kernels/weisfeiler_lehman.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/kernels copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/mcs.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/bon.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/base.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/deltacon.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/alg_types.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/jaccard.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/vertex_edge_overlap.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py creating /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/__init__.py -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/reader.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/generate_config.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/helpers/compute_similarity_matrix.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/vertex_ranking.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py creating /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/greedy_edit_distance.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/abstract_graph_edit_dist.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/graph_edit_dist.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/bipartite_graph_matching_2.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged copying build/lib.macosx-10.7-x86_64-3.6/gmatch4py/ged/hausdorff_edit_distance.cpython-36m-darwin.so -> /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/ged byte-compiling /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/__init__.py to __init__.cpython-36.pyc byte-compiling /anaconda3/envs/py36/lib/python3.6/site-packages/gmatch4py/helpers/__init__.py to __init__.cpython-36.pyc running install_egg_info Writing /anaconda3/envs/py36/lib/python3.6/site-packages/GMatch4py-0.2.2-py3.6.egg-info
Then input
python
(py36) veradeMacBook-Pro:GMatch4py vera$ python Python 3.6.7 |Anaconda, Inc.| (default, Oct 23 2018, 14:01:38) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import GMatch4py >>> exit()
works for me!
from gmatch4py.
Related Issues (20)
- set_attr_graph_used HOT 1
- Clearer documentation HOT 2
- ModuleNotFoundError: No module named 'gmatch4py.ged.graph_edit_dist' HOT 1
- graph-edit example from README: TypeError: 'method' object is not iterable HOT 2
- What is the order of the costs in GraphEditDistance? HOT 1
- Installation failed HOT 1
- Use of GMatch4py HOT 2
- Bug with GMatch4py if start with an other example HOT 4
- sum up of the matchings between graphs HOT 1
- How does the node attr works? HOT 2
- Graph2Vec error
- ModuleNotFoundError: No module named 'skipgram' HOT 13
- What is the maximum edit distance between two graphs? HOT 1
- No module named 'gmatch4py HOT 1
- A Question of Toponym Geocoding
- How to define substitution cost? HOT 2
- Some constructive feed HOT 2
- ModuleNotFoundError during Import
- `set_attr_graph_used` is not setting `node_attr_key`
- How are node attributes being exploited?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmatch4py.