How to Install Sentry on Python3.x, real-time monitoring service error

Want to install is not possible on Python3.x! ! ! Sentry is a collection errors tool that can show real-time to the developer, and backend interface is very nice to do, but you will find that the installation is very strenuous on Python3.x, finally will end in failure.

2015 Someone raised a issue on github, and asked why the author can not be installed on Python3.x sentry, author answer is not supported. If you try to install sentry with a pip, then the following error:

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting sentry
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b6/11/6c0b6cb083a0f7bcfe94060aa18c867908d51f2c1cb89e0d6b37ffa21093/sentry-9.1.0.tar.gz
Collecting BeautifulSoup>=3.2.1 (from sentry)
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/1e/ee/295988deca1a5a7accd783d0dfe14524867e31abb05b6c0eeceee49c759d/BeautifulSoup-3.2.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-krx08m8x/BeautifulSoup/setup.py", line 22
        print "Unit tests have failed!"
                                      ^
    SyntaxError: Missing parentheses in call to 'print'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-krx08m8x/BeautifulSoup/
复制代码

In the project setup.pyfile, we found that users of the project's framework Django, and Programming Language :: Python :: 2 :: Onlyonly supports 2.x, both in 9102, and still use Python2.x.

classifiers=[
    'Framework :: Django',
    'Intended Audience :: Developers',
    'Intended Audience :: System Administrators',
    'Operating System :: POSIX :: Linux',
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 2 :: Only',
    'Topic :: Software Development'
],
复制代码

How to Install Sentry on Python2.x

Too many online installation tutorial, I will not repeat wrote, you can pip install, manually compile the source code to install and even install docker mirror, very convenient

Recommended installation method

https://www.cnblogs.com/scharfsinnig/p/7467958.html
复制代码

Guess you like

Origin blog.csdn.net/weixin_33778544/article/details/91371598