我一直在尝试使用 sudo pip3 install networkit 安装 Networkit,如他们网站中所述,但我收到此错误!
Collecting networkit
Downloading networkit-4.1.1.tar.gz (936kB)
100% |████████████████████████████████| 942kB 1.6MB/s
Installing collected packages: networkit
Running setup.py install for networkit ... error
Complete output from command /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-p2tcuarv/networkit/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ac3b1wc7-record/install-record.txt --single-version-externally-managed --compile:
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/Cython/Distutils/old_build_ext.py:30: UserWarning: Cython.Distutils.old_build_ext does not properly handle dependencies and is deprecated.
"Cython.Distutils.old_build_ext does not properly handle dependencies "
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.5
creating build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/__init__.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/algebraic.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/centrality.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/clique.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/coarsening.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/coloring.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/community.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/components.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/correlation.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/distance.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/dynamic.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/engineering.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/flow.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/generators.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/GEXFIO.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/globals.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/graph.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/graphio.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/GraphMLIO.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/linkprediction.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/matching.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/nxadapter.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/partitioning.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/plot.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/sampling.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/scd.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/simulation.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/sparsification.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/stats.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/stopwatch.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/structures.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/viztasks.py -> build/lib.macosx-10.6-intel-3.5/networkit
copying networkit/workflows.py -> build/lib.macosx-10.6-intel-3.5/networkit
creating build/lib.macosx-10.6-intel-3.5/networkit/gephi
copying networkit/gephi/__init__.py -> build/lib.macosx-10.6-intel-3.5/networkit/gephi
copying networkit/gephi/csv.py -> build/lib.macosx-10.6-intel-3.5/networkit/gephi
copying networkit/gephi/pyclient.py -> build/lib.macosx-10.6-intel-3.5/networkit/gephi
copying networkit/gephi/streaming.py -> build/lib.macosx-10.6-intel-3.5/networkit/gephi
creating build/lib.macosx-10.6-intel-3.5/networkit/profiling
copying networkit/profiling/__init__.py -> build/lib.macosx-10.6-intel-3.5/networkit/profiling
copying networkit/profiling/job.py -> build/lib.macosx-10.6-intel-3.5/networkit/profiling
copying networkit/profiling/multiprocessing_helper.py -> build/lib.macosx-10.6-intel-3.5/networkit/profiling
copying networkit/profiling/plot.py -> build/lib.macosx-10.6-intel-3.5/networkit/profiling
copying networkit/profiling/profiling.py -> build/lib.macosx-10.6-intel-3.5/networkit/profiling
copying networkit/profiling/stat.py -> build/lib.macosx-10.6-intel-3.5/networkit/profiling
creating build/lib.macosx-10.6-intel-3.5/networkit/test
copying networkit/test/__init__.py -> build/lib.macosx-10.6-intel-3.5/networkit/test
copying networkit/test/test_algorithms.py -> build/lib.macosx-10.6-intel-3.5/networkit/test
copying networkit/test/test_community.py -> build/lib.macosx-10.6-intel-3.5/networkit/test
copying networkit/test/test_graphio.py -> build/lib.macosx-10.6-intel-3.5/networkit/test
copying networkit/test/test_sparsification.py -> build/lib.macosx-10.6-intel-3.5/networkit/test
creating build/lib.macosx-10.6-intel-3.5/networkit/test/extension
copying networkit/test/extension/__init__.py -> build/lib.macosx-10.6-intel-3.5/networkit/test/extension
copying networkit/test/extension/test.py -> build/lib.macosx-10.6-intel-3.5/networkit/test/extension
creating build/lib.macosx-10.6-intel-3.5/networkit/test/gephi
copying networkit/test/gephi/__init__.py -> build/lib.macosx-10.6-intel-3.5/networkit/test/gephi
creating build/lib.macosx-10.6-intel-3.5/networkit/profiling/html
copying networkit/profiling/html/measure.html -> build/lib.macosx-10.6-intel-3.5/networkit/profiling/html
copying networkit/profiling/html/overlay.html -> build/lib.macosx-10.6-intel-3.5/networkit/profiling/html
copying networkit/profiling/html/profile.html -> build/lib.macosx-10.6-intel-3.5/networkit/profiling/html
copying networkit/profiling/html/profiling.css -> build/lib.macosx-10.6-intel-3.5/networkit/profiling/html
copying networkit/profiling/html/profiling.js -> build/lib.macosx-10.6-intel-3.5/networkit/profiling/html
creating build/lib.macosx-10.6-intel-3.5/networkit/profiling/latex
copying networkit/profiling/latex/measure.tex -> build/lib.macosx-10.6-intel-3.5/networkit/profiling/latex
copying networkit/profiling/latex/profile.tex -> build/lib.macosx-10.6-intel-3.5/networkit/profiling/latex
creating build/lib.macosx-10.6-intel-3.5/networkit/profiling/description
copying networkit/profiling/description/descriptions.txt -> build/lib.macosx-10.6-intel-3.5/networkit/profiling/description
running build_ext
initializing NetworKit compilation with: scons --optimize=Opt --target=Core -j8 --compiler=g++-4.8 --std=c++11
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++-4.8 -o .buildOpt/algebraic/AdjacencyMatrix.o -c -std=c++11 -Wall -c -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG -DLOG_LEVEL=LOG_LEVEL_INFO networkit/cpp/algebraic/AdjacencyMatrix.cpp
g++-4.8 -o .buildOpt/algebraic/CSRMatrix.o -c -std=c++11 -Wall -c -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG -DLOG_LEVEL=LOG_LEVEL_INFO networkit/cpp/algebraic/CSRMatrix.cpp
g++-4.8 -o .buildOpt/algebraic/DenseMatrix.o -c -std=c++11 -Wall -c -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG -DLOG_LEVEL=LOG_LEVEL_INFO networkit/cpp/algebraic/DenseMatrix.cpp
g++-4.8 -o .buildOpt/algebraic/DiagonalMatrix.o -c -std=c++11 -Wall -c -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG -DLOG_LEVEL=LOG_LEVEL_INFO networkit/cpp/algebraic/DiagonalMatrix.cpp
g++-4.8 -o .buildOpt/algebraic/IncidenceMatrix.o -c -std=c++11 -Wall -c -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG -DLOG_LEVEL=LOG_LEVEL_INFO networkit/cpp/algebraic/IncidenceMatrix.cpp
g++-4.8 -o .buildOpt/algebraic/LaplacianMatrix.o -c -std=c++11 -Wall -c -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG -DLOG_LEVEL=LOG_LEVEL_INFO networkit/cpp/algebraic/LaplacianMatrix.cpp
g++-4.8 -o .buildOpt/algebraic/Matrix.o -c -std=c++11 -Wall -c -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG -DLOG_LEVEL=LOG_LEVEL_INFO networkit/cpp/algebraic/Matrix.cpp
g++-4.8 -o .buildOpt/algebraic/NormalizedLaplacianMatrix.o -c -std=c++11 -Wall -c -fmessage-length=0 -fPIC -fopenmp -O3 -DNDEBUG -DLOG_LEVEL=LOG_LEVEL_INFO networkit/cpp/algebraic/NormalizedLaplacianMatrix.cpp
/var/tmp//ccFjDjJZ.s:17:expecting string instruction after `rep'
/var/tmp//ccFjDjJZ.s:56:expecting string instruction after `rep'
scons: *** [.buildOpt/algebraic/DenseMatrix.o] Error 1
/var/tmp//cch6WQOj.s:17:expecting string instruction after `rep'
/var/tmp//cch6WQOj.s:56:expecting string instruction after `rep'
/var/tmp//cch6WQOj.s:3864:expecting string instruction after `rep'
/var/tmp//cch6WQOj.s:3869:expecting string instruction after `rep'
scons: *** [.buildOpt/algebraic/Matrix.o] Error 1
/var/tmp//ccjOB51r.s:17:expecting string instruction after `rep'
scons: *** [.buildOpt/algebraic/CSRMatrix.o] Error 1
scons: building terminated because of errors.
scons returned an error, exiting setup.py
----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-p2tcuarv/networkit/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ac3b1wc7-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-p2tcuarv/networkit/