PHP8 currently is not supported
Try php version 7.4.
систему которая закрывает/открывает гугл уже сделалНе гугл, а браузер по-умолчанию, который далеко не обязательно будет Хромом у данного пользователя
Image.resize(size, resample=None, box=None, reducing_gap=None)
resample – An optional resampling filter. This can be one of PIL.Image.NEAREST, PIL.Image.BOX, PIL.Image.BILINEAR, PIL.Image.HAMMING, PIL.Image.BICUBIC or PIL.Image.LANCZOS. If the image has mode “1” or “P”, it is always set to PIL.Image.NEAREST. If the image mode specifies a number of bits, such as “I;16”, then the default filter is PIL.Image.NEAREST. Otherwise, the default filter is PIL.Image.BICUBIC. See: Filters.
langdetect
Requires large portions of text. It uses non-deterministic approach under the hood. That means you get different results for the same text sample. Docs say you have to use following code to make it determined:
from langdetect import detect, DetectorFactory DetectorFactory.seed = 0 detect('今一はお前さん')
Надо пробовать.