无法安装NetworKit

时间:2015-11-09 05:49:34

标签: python macos terminal pip networkit

我一直在试图找出安装此模块一段时间的问题,我被卡住了。我能找到的唯一相关链接是here。我在终端输入命令sudo -E pip3 install networkit,这就是我得到的。

g++: error: unrecognized command line option '-Qunused-arguments'
g++: error: unrecognized command line option '-Qunused-arguments'
error: command 'g++' failed with exit status 1

----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -c "import setuptools, tokenize;__file__='/private/var/folders/9n/zhnv69nd7sv9fj9gsg64c1p00000gp/T/pip-build-l15ye4xm/networkit/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/9n/zhnv69nd7sv9fj9gsg64c1p00000gp/T/pip-25ou5_op-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/9n/zhnv69nd7sv9fj9gsg64c1p00000gp/T/pip-build-l15ye4xm/networkit

我能够使用pip安装所有提到的here的python包。我有python 3.5,使用macports安装gcc5,目前使用Cython版本0.23.4,并通过Homebrew安装OpenMP。我能够找到遇到的大多数问题的答案,但我似乎找不到一个。

编辑:which g++生成/ opt / local / bin / g ++,echo ${CXX}生成一个空行

0 个答案:

没有答案