Failed to import module __ PyInstaller_ hooks_ 0_ IPython required by hook for module problem solving
Method 1 and method 2
Method 1
It may be a problem with pyinstaller. Try reinstalling pyinstaller
enter in the command line:
>>> pip uninstall pyinstaller
>>> pip install pyinstaller
Method 2
The error can be caused by the installation of outdated IPython in the environment. We can try to update it to a newer version
enter in the command line:
>>> pip install --upgrade IPython
I hope I can help you!