How to compile python with PyInstaller in Linux
<p>I am using <code>Python 3.5.2</code> , <code>PyQt 5.7</code> , <code>PyInstaller 3.2</code> and I'm in Linux</p>

<p>I can compile file.py with : <code>pyinstaller file.py</code></p>

<p>but when I run the binary file in Build folder it returns:</p>

<p><code>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</code></p>

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

<p>the binary file is in the <code>dist</code> folder not <code>build</code> folder</p>

python linux python-3.x pyqt pyinstaller