8-1|pyinstaller打包报错 with open(path, 'rb') as stream: FileNotFoundError: [Errno 2] No such file o 原创

简介: 8-1|pyinstaller打包报错 with open(path, 'rb') as stream: FileNotFoundError: [Errno 2] No such file o 原创

pyinstaller打包报错 with open(path, 'rb') as stream: FileNotFoundError: [Errno 2] No such file or directory: 'd:\\python3.6.8\\lib\\site-packages\\prettytable-3.8.0-py3.6.egg\\EGG-INFO\\top_level.txt' 中文回答我

看起来你在使用 PyInstaller 打包你的 Python 程序时遇到了问题。出现这个错误可能是因为 PyInstaller 在尝试读取 `prettytable` 库的元信息时找不到 `top_level.txt` 文件。这可能是由于你的环境中 `prettytable` 库的安装问题。


相关文章
|
NoSQL Linux
gdb调试产生code文件以及遇到的“file format not recognized”问题解决
gdb调试产生code文件以及遇到的“file format not recognized”问题解决
1177 0
|
9月前
|
编译器 API C语言
C/C++ 获取文件名的方法:分享一些实用的获取文件名的方法和技巧(__FILE__,__builtin_FILE(),__BASE_FILE__等)
C/C++ 获取文件名的方法:分享一些实用的获取文件名的方法和技巧(__FILE__,__builtin_FILE(),__BASE_FILE__等)
848 0
|
7月前
|
UED Python
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘D:\1. PDF’
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘D:\1. PDF’
267 0
|
7月前
|
开发者 Python
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘配置信息.csv‘
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘配置信息.csv‘
327 0
|
7月前
|
XML 数据格式 Python
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘./1.xml’
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘./1.xml’
392 0
|
小程序
npm ERR! enoent ENOENT: no such file or directory, open ‘D:\package.json‘
npm ERR! enoent ENOENT: no such file or directory, open ‘D:\package.json‘
156 0
file_get_contents和strstr防止文件关键内容被删除
file_get_contents和strstr防止文件关键内容被删除
50 0
tar解压出错:gzip: stdin: unexpected end of file的解决
tar解压出错:gzip: stdin: unexpected end of file的解决
Keil报错:cannot open source input file "core_cmInstr.h" 解决办法
Keil报错:cannot open source input file "core_cmInstr.h" 解决办法
806 0
Keil报错:cannot open source input file "core_cmInstr.h" 解决办法
|
Linux C语言 C++
VS编译出错:fatal error C1083: 无法打开包括文件:“stdbool.h”: No such file or directory
VS编译出错:fatal error C1083: 无法打开包括文件:“stdbool.h”: No such file or directory
723 0