-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X: can't find the python library [$30 awarded] #443
Comments
I installed pyinstaller 67a5f8d into pyenv built 3.4.3. (I couldn't install pyinstaller to 3.4.3 via PyPI)
I confirmed the reproduction of the build error on OS X, and I also confirmed it's working on Debian GNU/Linux amd64.
|
It's apparently failing to find https://github.com/pyinstaller/pyinstaller/blob/67a5f8d577fe77922ca881d7277d795f569e4ed9/PyInstaller/building/build_main.py#L555-L568 By default of CPython (and pyenv), the @ThomasWaldmann Could you check if you don't have |
Giving the env variable worked! Thanks for helping with that! BTW, are there some docs where this trick could be added? Guess I am not the only one who might need that. |
I realized that PyInstaller installed into pyenv built 3.4.3 was using I'll update document about how we can build CPython with enabling shared. |
Opened a PR of pyinstaller/pyinstaller#1510 to improve PyInstaller's error message. |
Updated Wiki of both PyInstaller and pyenv. |
I believe that there are no tasks remaining now. |
Great work, thanks! |
Fixed. Many thanks! |
Verified by checking for presence of Python.framework folder at (in my case I was dealing with v3.9.1): |
I'ld like to use pyinstaller 3 on OS X to build a single-file executable for borgbackup.
When trying to do that, it says it can't find the python library (usually it is named libpython3.4.dylib).
I did look around myself, but I also could not find it. Is there a special reason why it is not there after installing python 3.4.3?
This is on OS X Yosemite and I installed python with pyenv install 3.4.3 + pyenv global 3.4.3.
--- The **[$30 bounty](https://www.bountysource.com/issues/26821395-os-x-can-t-find-the-python-library?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** on this issue has been claimed at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: