zoukankan      html  css  js  c++  java
  • pyinstaller==3.6版本打包出程序执行提示 failed to execute pyi_rth_pkgres 解决办法

    遇到这个问题按下面方法顺利解决我的问题,先卸载然后重新安装

     1 PS C:windowssystem32> pip uninstall pyinstaller
     2 Found existing installation: PyInstaller 3.6
     3 Uninstalling PyInstaller-3.6:
     4   Would remove:
     5     c:program filespython37libsite-packagespyinstaller-3.6.dist-info*
     6     c:program filespython37libsite-packagespyinstaller*
     7     c:program filespython37scriptspyi-archive_viewer.exe
     8     c:program filespython37scriptspyi-bindepend.exe
     9     c:program filespython37scriptspyi-grab_version.exe
    10     c:program filespython37scriptspyi-makespec.exe
    11     c:program filespython37scriptspyi-set_version.exe
    12     c:program filespython37scriptspyinstaller.exe
    13 Proceed (y/n)? y
    14   Successfully uninstalled PyInstaller-3.6
    15 PS C:windowssystem32> pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
    16 Collecting https://github.com/pyinstaller/pyinstaller/archive/develop.zip
    17   Downloading https://github.com/pyinstaller/pyinstaller/archive/develop.zip
    18       4.2 MB 30 kB/s
    19   Installing build dependencies ... done
    20   Getting requirements to build wheel ... done
    21     Preparing wheel metadata ... done
    22 Requirement already satisfied: setuptools in c:program filespython37libsite-packages (from pyinstaller==4.0.dev0) (47.1.1)
    23 Requirement already satisfied: pywin32-ctypes>=0.2.0; sys_platform == "win32" in c:program filespython37libsite-packages (from pyinstaller==4.0.dev0) (0.2.0)
    24 Requirement already satisfied: pefile>=2017.8.1; sys_platform == "win32" in c:program filespython37libsite-packages (from pyinstaller==4.0.dev0) (2019.4.18)
    25 Requirement already satisfied: altgraph in c:program filespython37libsite-packages (from pyinstaller==4.0.dev0) (0.17)
    26 Requirement already satisfied: future in c:program filespython37libsite-packages (from pefile>=2017.8.1; sys_platform == "win32"->pyinstaller==4.0.dev0) (0.18.2)
    27 Building wheels for collected packages: pyinstaller
    28   Building wheel for pyinstaller (PEP 517) ... done
    29   Created wheel for pyinstaller: filename=pyinstaller-4.0.dev0-py3-none-any.whl size=2933433 sha256=e84486ef70819168196c7498197b8533fb8c62421d23c73dfc2589ebeef7e578
    30   Stored in directory: C:UsersxxAppDataLocalTemppip-ephem-wheel-cache-mdkbthuhwheels8a8d795d8288416c36a101b9acc7bf6b88e3b61357156c6a1efa63df
    31 Successfully built pyinstaller
    32 Installing collected packages: pyinstaller
    33 Successfully installed pyinstaller-4.0.dev0
    34 PS C:windowssystem32>
    35 PS C:windowssystem32>
    36 PS C:windowssystem32> pip show pyinstaller
    37 Name: pyinstaller
    38 Version: 4.0.dev0
    39 Summary: PyInstaller bundles a Python application and all its dependencies into a single package.
    40 Home-page: http://www.pyinstaller.org/
    41 Author: Hartmut Goebel, Giovanni Bajo, David Vierra, David Cortesi, Martin Zibricky
    42 Author-email: None
    43 License: GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)
    44 Location: c:program filespython37libsite-packages
    45 Requires: altgraph, pefile, setuptools, pywin32-ctypes
    46 Required-by:
  • 相关阅读:
    2018/2/26 省选模拟赛 0分
    2018/2/25 省选模拟赛 36分
    BZOJ 2428 JZYZOJ1533 : [HAOI2006]均分数据 模拟退火 随机化
    BZOJ 4036: [HAOI2015]按位或 集合幂函数 莫比乌斯变换 莫比乌斯反演
    BZOJ 3196 Tyvj 1730 二逼平衡树 树套树 线段树 treap
    POJ 2728 JZYZOJ 1636 分数规划 最小生成树 二分 prim
    JZYZOJ1998 [bzoj3223] 文艺平衡树 splay 平衡树
    POJ 3974 Palindrome 字符串 Manacher算法
    BZOJ 1013: [JSOI2008]球形空间产生器sphere 高斯消元
    jQuery cookie使用
  • 原文地址:https://www.cnblogs.com/aziji/p/12992876.html
Copyright © 2011-2022 走看看