-
Notifications
You must be signed in to change notification settings - Fork 121
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
A problem converting a grib2 file to a netCDF file using cfgrib and xarray #744
Comments
Looks like plugins are registed via For now, try creating a custom hook that will override the one from # hook-xarray.py
from PyInstaller.utils.hooks import copy_metadata, collect_entry_point
# Collect additional backend plugins
datas, hiddenimports = collect_entry_point('xarray.backends')
# `xarray` requires `numpy` metadata due to several calls to its `xarray.core.utils.module_available` with specified
# `minversion` argument, which end up calling `importlib.metadata.version`.
datas += copy_metadata('numpy') Then add |
@rokm
|
You omitted
|
@rokm |
My test code -
this works in python from the terminal window, but when I compile the code using the following pyinstaller command line -
and then run the exe I get the following error message -
any help will be greatly appreciated
The text was updated successfully, but these errors were encountered: