试图作为EXE导出并与Pyinstaller遇到错误
因此,我试图使用Pyinstaller将此.Py作为EXE导出。我已经使用CMD找到了它:
C:\Users\me>path
PATH=C:\Users\me\AppData\Local\Programs\Python\Python39\Scripts\pyinstaller.exe
但是,当我使用此命令时:
C:\Users\me\PycharmProjects\Rickroll>pyinstaller --onefile main.py
我收到消息
'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.
,请帮助我理解为什么吗?
so I'm trying to export this .py as an exe using pyinstaller. I have found it in path with cmd :
C:\Users\me>path
PATH=C:\Users\me\AppData\Local\Programs\Python\Python39\Scripts\pyinstaller.exe
however, when I use this command:
C:\Users\me\PycharmProjects\Rickroll>pyinstaller --onefile main.py
I get the message
'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.
please can you help me understand why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
所以我已经解决了问题。我本质上必须完全重置我的计算机。它做到了。因此,从本质上讲,由于我兄弟在一段时间之前所做的事情,整个事情都搞砸了。 PIP文件在那里,但没有反应。无论如何要重置。
So i've fixed the problem. I essentially had to totally reset my computer. it did the trick. So essentially, the whole thing was messed up because of something my brother did on it a while back. the pip files were there but unresponsive. it was due for a reset anyway.,