1

I have been able to freeze a Python/PySide2 script with fbs on macOS, and the app seems to work.
However, I got some errors from the freeze process stating:

Can not find path ./libshiboken2.abi3.5.13.dylib.

Does anyone know how to fix that?

eyllanesc
  • 235,170
  • 19
  • 170
  • 241
Thomas
  • 11
  • 1

1 Answers1

0

Try to use the --runtime-tmpdir because while running the generated exe file it needs this file libshiboken2.abi3.5.13.dylib and unable hook that file.

Solution: use --add-data & --runtime-tmpdir to pyinstaller command line.

pyinstaller -F --add-data "path/libshiboken2.abi3.5.13.dylib":"**PATH" --runtime-tmpdir temp_dir_name your_program.py

here PATH = the directory name of that file looking for.-F = one file

MathanKumar
  • 543
  • 1
  • 4
  • 17