Hi all, I am running: Windows 10. Writing scripts in jupyter notebook within an anaconda environment python v 3.5.6
I have a written a working GUI in python that 1. reads in and displays medical MRI data, 2. loads in a tensorflow model and trained model weights 3. runs the model on the MRI data When I run pyinstaller on the script it pops up with this message part way through: [image: tensorflow procedure entry point error.PNG] The file "_fused_conv2_bias_activation_op.so" that it shows in the message IS there, but I do not understand what the issue could be. Anyway, when I "OK" the message, pyinstaller continues to run and ends fine. The resulting .exe runs fine on the computer that I built it on. However, when I transfer it to another computer it does not run - just crashes out. *Problem-solving so far ...* I have created a script that just performs action 1 (loading and viewing MRI data). This compiles without the above message popping up and runs on both local and external computer. This is good and shows I have at least understood pyinstaller to some extent! :-) I then added these lines to the imports at the beginning of the script: import tensorflow as tf print(tf.__version__) import keras print(keras.__version__) When I run pyinstaller on this new script it comes up with the above error message. *Therefore the issue is with these lines.* Is this a "hook" or "hidden imports" issue? If it can be solved with a hook then please let me know exactly how to implement this as I am struggling to comprehend the instructions on pyinstaller site. I have tried writing two hook files (one for tensorflow and one for keras) within the same directory and running the following line, but I don't think it finds the hook scripts that I made. pyinstaller --additional-hooks-dir=. AA_SyntheticCT_v2.py Could anyone offer me some advice? Thanks all! -- 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/28e499fc-fe15-44db-9f72-ab12b091e01fn%40googlegroups.com.
