当前位置:
首页 > temp > 简明python教程 >
-
pyinstaller==3.6版本打包出程序执行提示 failed to execute pyi_rth_pkgres 解决办法
遇到这个问题按下面方法顺利解决我的问题,先卸载然后重新安装
1 PS C:\windows\system32> pip uninstall pyinstaller 2 Found existing installation: PyInstaller 3.6 3 Uninstalling PyInstaller-3.6: 4 Would remove: 5 c:\program files\python37\lib\site-packages\pyinstaller-3.6.dist-info\* 6 c:\program files\python37\lib\site-packages\pyinstaller\* 7 c:\program files\python37\scripts\pyi-archive_viewer.exe 8 c:\program files\python37\scripts\pyi-bindepend.exe 9 c:\program files\python37\scripts\pyi-grab_version.exe 10 c:\program files\python37\scripts\pyi-makespec.exe 11 c:\program files\python37\scripts\pyi-set_version.exe 12 c:\program files\python37\scripts\pyinstaller.exe 13 Proceed (y/n)? y 14 Successfully uninstalled PyInstaller-3.6 15 PS C:\windows\system32> 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 files\python37\lib\site-packages (from pyinstaller==4.0.dev0) (47.1.1) 23 Requirement already satisfied: pywin32-ctypes>=0.2.0; sys_platform == "win32" in c:\program files\python37\lib\site-packages (from pyinstaller==4.0.dev0) (0.2.0) 24 Requirement already satisfied: pefile>=2017.8.1; sys_platform == "win32" in c:\program files\python37\lib\site-packages (from pyinstaller==4.0.dev0) (2019.4.18) 25 Requirement already satisfied: altgraph in c:\program files\python37\lib\site-packages (from pyinstaller==4.0.dev0) (0.17) 26 Requirement already satisfied: future in c:\program files\python37\lib\site-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:\Users\xx\AppData\Local\Temp\pip-ephem-wheel-cache-mdkbthuh\wheels\8a\8d\79\5d8288416c36a101b9acc7bf6b88e3b61357156c6a1efa63df 31 Successfully built pyinstaller 32 Installing collected packages: pyinstaller 33 Successfully installed pyinstaller-4.0.dev0 34 PS C:\windows\system32> 35 PS C:\windows\system32> 36 PS C:\windows\system32> 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 files\python37\lib\site-packages 45 Requires: altgraph, pefile, setuptools, pywin32-ctypes 46 Required-by:
栏目列表
最新更新
nodejs爬虫
Python正则表达式完全指南
爬取豆瓣Top250图书数据
shp 地图文件批量添加字段
爬虫小试牛刀(爬取学校通知公告)
【python基础】函数-初识函数
【python基础】函数-返回值
HTTP请求:requests模块基础使用必知必会
Python初学者友好丨详解参数传递类型
如何有效管理爬虫流量?
2个场景实例讲解GaussDB(DWS)基表统计信息估
常用的 SQL Server 关键字及其含义
动手分析SQL Server中的事务中使用的锁
openGauss内核分析:SQL by pass & 经典执行
一招教你如何高效批量导入与更新数据
天天写SQL,这些神奇的特性你知道吗?
openGauss内核分析:执行计划生成
[IM002]Navicat ODBC驱动器管理器 未发现数据
初入Sql Server 之 存储过程的简单使用
SQL Server -- 解决存储过程传入参数作为s
关于JS定时器的整理
JS中使用Promise.all控制所有的异步请求都完
js中字符串的方法
import-local执行流程与node模块路径解析流程
检测数据类型的四种方法
js中数组的方法,32种方法
前端操作方法
数据类型
window.localStorage.setItem 和 localStorage.setIte
如何完美解决前端数字计算精度丢失与数