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` 库的安装问题。


相关文章
|
Docker Python 容器
解决docker FileNotFoundError: [Errno 2] No such file or directory: ‘./data/train
解决docker FileNotFoundError: [Errno 2] No such file or directory: ‘./data/train
513 0
|
2月前
|
数据处理 开发者 Python
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘E:\自动备份文档\Python\修改配置.csv‘
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘E:\自动备份文档\Python\修改配置.csv‘
98 1
|
2月前
|
开发者 Python
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘配置信息.csv‘
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘配置信息.csv‘
61 0
|
2月前
|
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’
70 0
|
2月前
|
XML 数据格式 Python
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘./1.xml’
【Python】已解决:FileNotFoundError: [Errno 2] No such file or directory: ‘./1.xml’
84 0
|
10月前
|
小程序
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‘
99 0
Keil报错:cannot open source input file "core_cmInstr.h" 解决办法
Keil报错:cannot open source input file "core_cmInstr.h" 解决办法
673 0
Keil报错:cannot open source input file "core_cmInstr.h" 解决办法
|
Docker Python 容器
解决docker 2022-11-16 14:54:26 python: can‘t open file ‘/src/main.py‘: [Errno 2]
解决docker 2022-11-16 14:54:26 python: can‘t open file ‘/src/main.py‘: [Errno 2]
191 0
Cannot open include file: 'unistd.h': No such file or directory的解决办法
Cannot open include file: 'unistd.h': No such file or directory的解决办法
355 0
|
机器学习/深度学习 并行计算 异构计算
MXNet GluonTS使用报错:OSError: libnccl.so.2: cannot open shared object file: No such file or directory
libnccl.so.2: cannot open shared object file: No such file or directory
1325 0
MXNet GluonTS使用报错:OSError: libnccl.so.2: cannot open shared object file: No such file or directory