File “<frozen importlib._bootstrap>”, line 983, in _find_and_load
Use pyinstaller -D demo.py
After the packaging is complete, in the dist\Demo directory, execute demo.exe under cmd to find the problem track.
It was found that pyecharts was a problem, and pyinstaller did not support this library well.
Read More:
- [Solved] Pyinstaller packaged exe error: “failed to execute script XXX”
- Python Error: [9880] failed to execute script [How to Solve]
- How to Solve PyInstaller Package Error: ModuleNotFoundError: No module named ‘xxxx‘
- The solution of no such file or directory and cannot load native module running error of python3 pyinstaller after packaging
- [Solved] PyInstaller Error: ValueError: too many values to unpack
- Pyinstaller Error: [ImportError]: DLL load failed while importing _socket: Parameter error
- Python Use PIP to install pyinstaller Error [Solved]
- [Solved] Pyinstaller Package and Run Error: RuntimeError: Unable to open/read ui device
- Conscience installation: How To install Pyinstaller offline on Windows
- [Solved] Pycharm Use pip Error: Script file ‘D:\Anaconda3\envs\pytorch\Scripts\pip-script.py‘ is not present
- [Solved] Pyinstaller Error: “RuntimeError: No metadata path found for distribution ‘greenlet‘
- [Solved] Vite build & Flask Error: Failed to load module script. Strict MIME type checking is enforced
- [Solved] Pyinstaller package opencv error: ImportError: OpenCV loader: missing configuration file: [‘config.py’]. Check OpenCV installation.
- Python2.7 Pyinstaller Install Error: ERROR: Command errored out with exit status 1
- An error occurred when executing pyinstaller -F xxx.spec after editing the xxx.spec file
- Pyinstaller Error: INTEL MKL ERROR: The specified module could not be found. mkl_intel_thread.1.dll.Intel MKL FATAL ERROR: Cannot
- [Solved] Ubuntu using blender script error: Numpy cannot be found
- [Solved] Linux OS python Script Error: smtplib has no attribute SMTP_SSL
- [Solved] LeNet Script Train Error: AttributeError: ‘DictIterator’ object has no attribute ‘get_next’
- Ubuntu22.04 OpenHarmony Execute hb set Error [How to Solve]