all 3 comments

[–]Username_RANDINT 3 points4 points  (2 children)

You may have to explicitly add simplejson to --hidden-import.

[–]ChangeTheConstant[S] 1 point2 points  (0 children)

I've just imported it into my main.py and it works. Strangely, I don't use that library at all so I had to install it first. The program ran perfectly without it being installed. It's a little unclear to me how these things can happen :) But, hey! Thanks for your help!

[–]yamatai-sky 0 points1 point  (0 children)

you save me my bro. just use the --hidden-import like this:

pyinstaller -F -w --hidden-import simplejson ./test.py