Today, I was trying to build Sentry in Python, and when I installed the latest version 9.1.1, I got an error saying that my Python version was greater than 3.4, so I installed 3.4, and then all sorts of other errors. Currently this only supports 2.x Python. The error is as follows:


The solution was simple, but at first we didn’t think we’d have to install the more-Itertools library separately and just install version 5.0.0.

PIP install more - itertools = = 5.0.0Copy the code

Install the latest version again

pip install sentry
Copy the code

Installation successful!


note

If no other package is found, you can use this method to install it by replacing the package name.