我試圖按照從link的說明安裝哨兵: 然而,當我嘗試執行命令PIP安裝-U哨兵 ,我收到錯誤InstallationError: Command python setup.py egg_info failed with error code 1 in /webapps/sentry/env/build/symsynd
錯誤而安裝哨兵'不能執行「鐺」:沒有這樣的文件或directory`
下面是從日誌文件中的細節:
self.run_setup(setup_script, setup_base, args)
File "/webapps/sentry/env/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with 1
Complete output from command python setup.py egg_info:
unable to execute 'clang': No such file or directory
unable to execute 'clang': No such file or directory
No working compiler found, or bogus compiler options
passed to the compiler from Python's distutils module.
See the error messages above.
這將是很好,如果有人能找出什麼我做錯了。
謝謝 Vady
對不起,延遲迴復。感謝它像魅力一樣工作。 –
我發現我還需要安裝'cmake'('apt-get install cmake')才能成功完成Sentry安裝過程。 –
也要確保cmake verison是CMake 3.4.3或更高版本是必需的。 ubuntu repo上的默認值是2.8.一定要改變這一點。 https://launchpad.net/~george-edison55/+archive/ubuntu/cmake-3.x – tyan