You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar with pyinstaller but I can make a couple of guesses as to why it might struggle with asdf. For one, the asdf package includes several .yaml files that it needs in order to read and validate ASDF files. The path to those files is computed relative to the filesystem location of the asdf.schema module, so if pyinstaller fails to bundle the .yaml files or changes the directory structure of the package, asdf is not going to be able to find them.
Also, depending on the content of your ASDF file, you may need one or more extension packages that provide additional .yaml files and code to convert ASDF tree objects to Python types. These extensions are discovered by asdf using the entry points mechanism and are never explicitly imported, so pyinstaller may not know about them.
asdf doesn't seem to work with PyInstaller,
On running the code above with pyistaller
Regardless of adding a basic hook with
collect_submodules
andcollect_data_files
, the error persists.The text was updated successfully, but these errors were encountered: