0

I am trying to create an executable file from python code with 'Pyinstaller' package. The code runs in conda environment where the cfgrib selfcheck is good: Found: eccodes v2.27.0. your system is ready

However when the executable created by pyinstaller runs, the error is: ValueError: unrecognized engine cfgrib must be one of: ['scipy','store']

I adde 'eccodes', 'python-eccodes', 'cfgrib', 'netcdf4' to the hidden imports, but no success. Does anybody have any idea to fix this issue!

1 Answers1

1

I had the same issue with xarray and installing it with the extra "complete" solved my issue:

pip3 install xarray[complete]

It is not obvious that you are not installing the whole package without the extra.

joe
  • 11
  • 1