如何在带有python 3.4的windows上使用esky?
我正在尝试使用esky打包一个自动更新的Python3应用程序,但无法让它在windows上运行 我试图从教程中获得最简单的示例。 我的环境:如何在带有python 3.4的windows上使用esky?,python,windows,python-3.x,py2exe,auto-update,Python,Windows,Python 3.x,Py2exe,Auto Update,我正在尝试使用esky打包一个自动更新的Python3应用程序,但无法让它在windows上运行 我试图从教程中获得最简单的示例。 我的环境: Z:\share_space\esky-master\tutorial\stage1>python --version Python 3.4.3 Z:\share_space\esky-master\tutorial\stage1>pip freeze ... cx-Freeze==4.3.4 esky==0.9.8 py2exe==0.
Z:\share_space\esky-master\tutorial\stage1>python --version
Python 3.4.3
Z:\share_space\esky-master\tutorial\stage1>pip freeze
...
cx-Freeze==4.3.4
esky==0.9.8
py2exe==0.9.2.2
...
当使用py2exe作为冻结器运行时,由于某种原因,它找不到py2exe模块(尽管使用“python setup.py py2exe”冻结其他应用程序效果很好)
要获得可工作的windows版本,您需要以下内容:
- 来自github的最新esky版本(不是pypi)李>
- 为了避免esky错误,请确保
中列出的依赖项的字符大小写正确,如果不正确,请重新安装pip freeze
- 我可以确认使用cx Freeze works(py2exe尚未测试)
看看这个问题是如何解决的 要获得可工作的windows版本,您需要以下内容:
- 来自github的最新esky版本(不是pypi)李>
- 为了避免esky错误,请确保
中列出的依赖项的字符大小写正确,如果不正确,请重新安装pip freeze
- 我可以确认使用cx Freeze works(py2exe尚未测试)
看看这个问题是如何解决的 pypy上的esky现在已更新,因此它现在应该可以开箱即用:)pypy上的esky现在已更新,因此它现在应该可以开箱即用:)
Z:\share_space\esky-master\tutorial\stage1>python setup.py bdist_esky
running bdist_esky
Traceback (most recent call last):
File "setup.py", line 17, in <module>
"freezer_module":"py2exe",
File "C:\Python34\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python34\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Python34\lib\distutils\dist.py", line 973, in run_command
cmd_obj.ensure_finalized()
File "C:\Python34\lib\distutils\cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "C:\Python34\lib\site-packages\esky\bdist_esky\__init__.py", line 291, in
finalize_options
raise RuntimeError(err)
RuntimeError: freezer module not found: 'py2exe'
Z:\share_space\esky-master\tutorial\stage1>dist\example-app-0.1.win32\example.ex
e
ValueError: bad marshal data (unknown type code)
Fatal Python error: unable to locate initialization module
Current thread 0x00001254 (most recent call first):