Zdravicko.
Na novu masinu som si nainstaloval python 3.11 (aj 3.10 som skusal) a nasledne zobral jeden s programov ktore mam copy/paste a skompiloval pomocov auto-py-to-exe. 
sys.dont_write_bytecode=True
output_path = os.path.dirname(__file__)
parser = ap.ArgumentParser(description="Config.txt path")
parser.add_argument("--config")
args, leftovers = parser.parse_known_args()
if args.config is not None:
    Config_file = os.path.join(args.config)
     
if args.config is None:    
    Config_file = os.path.join(output_path, 'config.txt')
    
fail_update = False
time_now = datetime.now()
current_time_day = time_now.strftime("%d_%m_%Y")
current_time_day = str(current_time_day) 
current_time = time_now.strftime("%H:%M:%S")
current_time = str(current_time) 
logging_file_string = 'App_'+current_time_day+'.log'
logging_file = os.path.join(output_path, '/log/'+logging_file_string) 
filepath = os.path.join('C:\log', logging_file_string)
if not os.path.exists('C:\log'):
    os.makedirs('C:\log')
try:
    logging.basicConfig(filename=filepath , filemode='a', format='%(asctime)s - %(message)s', datefmt='%d-%b-%y %H:%M:%S')
    logging.warning('App Started')
except:
    print('Logging failed')
# Load Configuration Data
config = ConfigParser()
config.read(Config_file)
config.sections()
# Debug Option
guix_config = config['APP']['GUI']...