Recently, I wrote a python project, but I found no response after packing it today. I checked some information and said that adding a input
input statement at the end of the program can stay here to see the cause of the error.
After I add the input statement, I execute the following command to package
pyinstaller -F --hidden-import babel.numbers start_trade.py
Pay attention not to add the - W
parameter, so that the terminal window cannot be displayed and the saved information cannot be seen.
--hidden-import babel.numbers
represents the hidden module of packaging
The error message displayed during operation is
No module named 'talib.stream' name 'UI' is not defined
Now the program can’t find the package.
resolvent
Introduce into the files using the module talib.stream
The same is true for the missing module. The missing module is introduced in the file that references the module
However, it should be noted that what it prompts should be introduced according to the name it prompts, such as
import talib.stream
Read More:
- 2、 Solutions to the problem of flash back in vs2017
- Eclipse flash back does not open the problem
- Flash back problem of Python running
- Three solutions to flash back of program running result box under vs
- Visual studio 2012, a complete collection of solutions to flash back windows after running
- Solution to flash back of MacBook Pro open software of M1 chip
- Solve the problem of flash back in VS2010
- The reasons and common solutions of vs flash back on the road of C + + Learning (with reasons attached)
- Solve the problem of flash back in Visual Studio 2010
- Solutions to the problem of cannot find existing pyqt5 plugin directories encountered in pyinstaller packaging
- Solve the problem of “Visual Studio debugging flash back”
- Solve the problem of Nacos double click flash back
- Win10 installation git click git bash flash back problem solution
- The problem of flash back by pressing enter window when debugging or executing program in Visual Studio C
- Tomcat — failed to start, flash back
- C language program running results flash back how to do
- Solution to the flash back, error report and unexpected exit of idea MAC windows
- Solution to flash back of visual studio 2017 running program
- Flash back after vs compiler running, processing method
- JNI calls the add function of list in Java to flash back