Hi there,

I am currently trying to train a Deep learning module and amd importing and 
exporting using ONNX and keras converters. These libraries are seldom used 
with Pyinstaller and result in the following error when i run the .exe file:

pkg_resources.DistributionNotFound: The "onnx" distribution was not found 
and is required by the application

I have already tried including the onnx dependency within the .spec file 
upon building the executable here, but I figured that I am probably doing 
something incorrectly in the analysis section:
.....
datas=[('GrayscaleClassifierFast_3.onnx', '.'), 
(os.path.join(os.path.dirname(importlib.import_module('tensorflow').__file__), 
"lite/experimental/microfrontend/python/ops/_audio_microfrontend_op.so"), 
"tensorflow/lite/experimental/microfrontend/python/ops/")], 
hiddenimports=['pkg_resources.py2_warn', 'tensorflow'],  ..... 

Has anyone else experienced the pkg.resource error? How was this dealt 
with? Thanks!

Allen

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/ca0c4ca5-3dc9-491d-b039-1c4f44619187n%40googlegroups.com.

Reply via email to