gpt4 book ai didi

installation - 安装 Sentry `unable to execute ' clang' : No such file or directory` 时出错

转载 作者:行者123 更新时间:2023-12-05 00:53:55 25 4
gpt4 key购买 nike

我正在尝试按照 link 中的说明安装哨兵:
但是,当我尝试执行命令时 pip install -U sentry , 我收到错误 InstallationError: Command python setup.py egg_info failed with error code 1 in /webapps/sentry/env/build/symsynd
这是日志文件中的详细信息:

 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.

如果有人能弄清楚我做错了什么,那就太好了。

谢谢,
瓦迪

最佳答案

您需要一个 C 编译器来构建 symsynd 依赖项。

如果您使用的是基于 Debian 的发行版(Ubuntu 等),请执行以下操作:

sudo apt-get install clang

关于installation - 安装 Sentry `unable to execute ' clang' : No such file or directory` 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40466964/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com