我试图在linux的Windows子系统中安装Networkit包。我做到了
python3.7 -m pip install networkit然后发生以下错误
compilation terminated.
CMakeFiles/sparsification.dir/build.make:81: recipe for target 'CMakeFiles/sparsification.dir/networkit/sparsification.cpp.o' failed
make[2]: *** [CMakeFiles/sparsification.dir/networkit/sparsification.cpp.o] Error 1
CMakeFiles/Makefile2:1395: recipe for target 'CMakeFiles/sparsification.dir/all' failed
make[1]: *** [CMakeFiles/sparsification.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
Build tool returned an error, exiting setup.py
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pq3f9z1t/networkit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pq3f9z1t/networkit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-zex8gap3/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/user/.local/include/python3.7m/networkit Check the logs for full command output.我不知道去哪儿找原木。有人能建议如何找到我必须在其中查找日志文件的路径吗?
发布于 2021-03-15 20:38:58
使用--log LOG_FILE参数运行pip时,可以在命令行指定日志文件。例如,pip install click --log LOG_FILE。取自这个答案。
https://askubuntu.com/questions/1279043
复制相似问题