您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

python – PyInstaller“ImportError:没有名为Pyinstaller的模块”

5b51 2022/1/14 8:23:20 python 字数 1879 阅读 595 来源 www.jb51.cc/python

这是当我运行 python configure.py时产生的代码. dan@Q430-Q530:~/pyinstaller-2.0/PyInstaller$python configure.py Traceback (most recent call last): File "configure.py", line 28, in <module> from PyInstaller im

概述

dan@Q430-Q530:~/pyinstaller-2.0/PyInstaller$python configure.py
Traceback (most recent call last):
  File "configure.py",line 28,in <module>
    from PyInstaller import HOMEPATH,PLATFORM
ImportError: No module named PyInstaller

所以,目前,我甚至不能让PyInstaller运行,因为一个丢失的模块叫做PyInstaller.这是PyInstaller 2.0,您可以分别找到/pyinstaller-2.0和/pyinstaller-2.0/PyInstaller目录herehere内部的一些屏幕.

有人在这里知道发生了什么吗?我尝试将/pyinstaller-2.0目录中的pyinstaller.py文件复制到/pyinstaller-2.0/PyInstaller目录中,但我没有运气.

这可能会变得很容易解决,但是…让我陷入困境.如果有更多的信息需要,请问,我会尽量提供.

建立你的项目;在/ your / path / to / pyinstaller /目录中,只需运行:

“python pyinstaller.py [opts] yourprogram.py”

总结

以上是编程之家为你收集整理的python – PyInstaller“ImportError:没有名为Pyinstaller的模块”全部内容,希望文章能够帮你解决python – PyInstaller“ImportError:没有名为Pyinstaller的模块”所遇到的程序开发问题。


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶