TypeError: expected str, bytes or os.PathLike object, not tuple
-
Link Pyinstaller to LD_Library_Path like this
-
Check the path and change the relative path to an absolute path.
-
Check python version, it may work on python2 while you are using python3.