Pyinstaller:FilenotFoundError:[WinError 2]系统无法找到指定的文件:
我一直在尝试使用ptinstaller将Python文件导出为可行的文件。但是,我会收到以下错误:
“ filenotfounderror:[winerror 2]系统无法找到指定的文件:'c:\ users \ [name] \ appdata \ local \ local \ pyinstaller \ bincache00_py310_64bit \ python310.dll'。
所以我了解系统无法在给定目录处找到此文件,但是我在提示中输入的命令如何如下: pyinstaller - honefile -w name.py
我尝试卸载python并重新安装它,但这无效。我需要该程序将文件导出为无效。
如果您知道如何解决此问题,请告诉我。
I have been trying to export a python file as an exacutable file using ptinstaller. However, I get the following error:
"FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\Users\[name]\AppData\Local\pyinstaller\bincache00_py310_64bit\python310.dll'.
So I understand that the system cannot find this file at the given directory, but how do I fix it? The command I entered in the prompt is as follows:
pyinstaller --onefile -w name.py
I have tried uninstalling python and reinstalling it, but this didn't work. I need the program to export my file as an exacutable.
If you know how I can fix this, please let me know.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论