Skip to content
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

metpy and PyInstaller are no longer compatible #395

Open
bwoodsend opened this issue Mar 13, 2022 · 0 comments
Open

metpy and PyInstaller are no longer compatible #395

bwoodsend opened this issue Mar 13, 2022 · 0 comments

Comments

@bwoodsend
Copy link
Member

The problem is that two packages provide libtiff.5.dylib and those two copies are incompatible. I.e., after pip install metpy, this is what we get:

$ find . -name "libtiff*" -print
./lib/python3.9/site-packages/pyproj/.dylibs/libtiff.5.dylib
./lib/python3.9/site-packages/PIL/.dylibs/libtiff.5.dylib

And we actually do collect both, but due to path rewriting, the copy in _MEIPASS will be picked up (which in this case comes from PIL and is incompatible with pyproj):

('libtiff.5.dylib',
   '[...]/venv/lib/python3.9/site-packages/PIL/.dylibs/libtiff.5.dylib',
   'BINARY'),
[...]
('pyproj/.dylibs/libtiff.5.dylib',
   '[...]/venv/lib/python3.9/site-packages/pyproj/.dylibs/libtiff.5.dylib',
   'DATA'),

Originally posted in #374 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant