The problem of third-party package in pyinstaller

problem description

pyinstaller packing Times wrong: raise JSONDecodeError ("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

the environmental background of the problems and what methods you have tried

py has introduced three third-party packages.
has been tested that from PIL import ImageGrab
adds import PIL, or import PIL.ImageGrab as ImageGrab
still reports an error
the problem of putting PIL in the project directory does not solve

related codes

from PIL import ImageGrab
import numpy as np
import cv2

packing code pyinstaller item.py

what result do you expect? What is the error message actually seen?

want to get generic solutions for third-party package

Jan.08,2022
Menu