Skip to content
Advertisement

How to compile python with PyInstaller in Linux

I am using Python 3.5.2 , PyQt 5.7 , PyInstaller 3.2 and I’m in Linux

I can compile file.py with : pyinstaller file.py

but when I run the binary file in Build folder it returns:

Error loading Python lib '/home/arash/build/file/libpython3.5m.so.1.0': /home/arash/build/file/libpython3.5m.so.1.0: cannot open shared object file: No such file or directory

Where is the python library (.so file) to copy inside binary file or PyInstaller flag for copy library file?

Advertisement

Answer

the binary file is in the dist folder not build folder

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement