The link is no longer valid. I have hit the same issue, having tried a number of solutions including Dave's below. (Warning, new Python user).
My project is here if you want to recreate: https://github.com/valhuber/fab-quickstart My notes are in the project ($pyinstall fails.txt), highlights of solutions attempted: running Mac, Catalina cd fab_quickstart pyinstaller cli.py # fails... OSError: Python library not found: libpython3.8.dylib, libpython3.8m.dylib, Python, .Python This would mean your Python installation doesn't come with proper library files. This usually happens by missing development package, or unsuitable build parameters of Python installation. * On Debian/Ubuntu, you would need to install Python development packages * apt-get install python3-dev * apt-get install python-dev * If you're building Python by yourself, please rebuild your Python with `--enable-shared` (or, `--enable-framework` on Darwin) python installed via pyenv install 3.8.3, at: /Users/val/.pyenv/versions/3.8.3/lib/python3.8 Research found these suggestions, all failed in same way..... This page: https://pyinstaller.readthedocs.io/en/stable/when-things-go-wrong.html says set DYLD_LIBRARY_PATH -- same result export DYLD_LIBRARY_PATH=/Users/val/.pyenv/versions/3.8.3/lib/python3.8 or export DYLD_LIBRARY_PATH=/Users/val/.pyenv/versions/3.8.3-dev/lib/python3.8 pyenv install 3.8-dev -- same result https://stackoverflow.com/questions/43067039/pyinstaller-error-oserror-python-library-not-found-libpython3-4mu-so-1-0-lib libpython3.4m.so.1.0 --> /usr/lib -- but can't find mac version https://groups.google.com/forum/#!searchin/pyinstaller/pyinstaller$20OSError$3A$20Python$20library$20not$20found/pyinstaller/UJNSXQ6EI4M/KTVYFPVCAQAJ brew install pyqt -- same result On Tuesday, September 6, 2016 at 7:49:08 AM UTC-7, davecortesi wrote: > > > OSError: Python library not found: Python, .Python, libpython3.5.dylib >> >> > This is actually in the manual, > > > http://pythonhosted.org/PyInstaller/when-things-go-wrong.html?highlight=static#build-time-python-errors > > > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/1c80e5fb-8d17-4b05-a45d-2e99ee204eaao%40googlegroups.com.