niiick 2019-01-30 14:14 采纳率: 100%
浏览 8508
已采纳

pyinstaller打包exe后在其他环境上无法运行

win10 64位上用pyinstaller把.py打包.exe,本机上没有问题,但在win xp上无法运行

试着搜索了一下warn文件里的内容貌似没找到解决方案

打包过程的图片:

图片说明

warn里面的内容:

missing module named resource - imported by posix, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named posix - imported by os, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named _posixsubprocess - imported by subprocess, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named org - imported by pickle, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named readline - imported by cmd, code, pdb, C:\Users\12848\Desktop\project\I GOT YOU.py
excluded module named _frozen_importlib - imported by importlib, importlib.abc, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named _frozen_importlib_external - imported by importlib._bootstrap, importlib, importlib.abc, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named _winreg - imported by platform, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named _scproxy - imported by urllib.request
missing module named java - imported by platform, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named 'java.lang' - imported by platform, C:\Users\12848\Desktop\project\I GOT YOU.py, xml.sax._exceptions
missing module named vms_lib - imported by platform, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named termios - imported by tty, C:\Users\12848\Desktop\project\I GOT YOU.py, getpass
missing module named grp - imported by shutil, tarfile, C:\Users\12848\Desktop\project\I GOT YOU.py
missing module named 'org.python' - imported by copy, C:\Users\12848\Desktop\project\I GOT YOU.py, xml.sax
missing module named pwd - imported by posixpath, shutil, tarfile, http.server, webbrowser, C:\Users\12848\Desktop\project\I GOT YOU.py, netrc, getpass
missing module named _dummy_threading - imported by dummy_threading, C:\Users\12848\Desktop\project\I GOT YOU.py

我的程序中调用的库:

from tkinter import*
import tkinter.messagebox
from random import randint
from threading import Thread
from time import sleep
from re import split
  • 写回答

4条回答

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥15 用MATLAB解决问题,需要代码
      • ¥45 关于C语言设计井字棋游戏问题的实现
      • ¥20 vuforia的Unity3D开发,模型附上特效后大量报错
      • ¥35 Python实现文本关键词提取
      • ¥20 如何使用c++语言完成实验仪器管理系统
      • ¥15 请问Unity使用Magica Cloth插件怎么调整散兵的帘子和振袖比较好?
      • ¥15 请问为什么原神模型导入Unity做动画默认姿势会站不直?
      • ¥15 ld: cannot open C:\Program: No such file or directory
      • ¥15 请问汏佬要怎么访问这种过滤了post和get的php内容?
      • ¥15 C语言调用python脚本出现Debug Assertion Failed错误