Unified exit as sys. exit in the code to improve cross platform compatibility,due to the special working environment, it is not possible to install mycli using pip. When using pyinstaller to package as binary, the exit error in main.py is reported. After modifying it to sys. exit, it works normally. Test commands such as mycli.exe -uroot -proot -e "select version();"