An error occurred while setting the sentry `it is impossible to execute 'clang': there is no such file or directory`

I try to install the watch device by following the link instructions : However, when I try to run the pip install -U sentry command , I get an errorInstallationError: Command python setup.py egg_info failed with error code 1 in /webapps/sentry/env/build/symsynd

Here is the detailed information from the log file:

 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 distutils module.

    See the error messages above.

It would be nice if someone could understand what I'm doing wrong.

Thanks Wadi

+4
source share
2 answers

You need a C compiler to create symsynd dependencies.

If you are using a Debian based distribution (Ubuntu, etc.), simply do:

sudo apt-get install clang
+5
source

, C , . clang . - clang.

0

Source: https://habr.com/ru/post/1660077/


All Articles