急救!
python打包后无法在其他电脑上运行
import tkinter as tk
import subprocess
import keyboard
import tempfile
import win32api
import win32con
import win32gui
import hashlib
import base64
import ctypes
import string
import winreg
import time
import sys
import os
import re
from PIL import Image
from PIL import ImageTk
from tkinter import ttk
from random import randint
from tkinter import PhotoImage
from threading import Thread as td
from tkinter.messagebox import showwarning as swarn
# ---调试部分---
test_stdoutfile = open("./stdout.txt","w",encoding = "utf-8")
test_stderrfile = open("./stderr.txt","w",encoding = "utf-8")
sys.stdout = test_stdoutfile
sys.stderr = test_stderrfile
# 隐藏pygame欢迎语
os.environ["PYGAME_HIDE_SUPPORT_PROMPT"] = ""
import pygame
from pygame.locals import *
上面是导入的库