使用wine / cxoffice的p2exe [英] p2exe using wine/cxoffice

查看:107
本文介绍了使用wine / cxoffice的p2exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我的部门已从vmware切换到wine / cxoffice。我整个上午一直在玩这个,我已经走到了这一步。如果有人这样做了,你能指出我正确的方向

euler 65%winpy

Enthought Edition build 1057

Python 2.3.3 (#51,2004年2月16日,04:07:52)[MSC v.1200 32位(英特尔)]在win32上

输入help,copyright,credit等等。或许可证或了解更多信息。

py>来自distutils.core导入设置

py>导入py2exe

py> import sys

py> sys.argv.append(''py2exe'')

py> setup(console = [" erase.py"])

运行py2exe

***搜索所需的模块***

* **解析结果***

为扩展创建python加载器''_sre''

***需要找到dll ***

回溯(最近一次调用最后一次):

文件"< stdin>",第1行,在?

文件" C:\Python23 \ lib \distutils \ core.py",第149行,在设置中

dist.run_commands()

文件" C:\Python23 \lib \ didisttils \dist.py",第907行,在run_commands中

self.run_command(cmd)

文件" C:\Python23 \lib \\\\\\\\\\\ dist_py",第927行,在run_command中

cmd_obj.run()

文件" C:\Python23 \lib \site-packages \ py2exe \ build_exe.py",第183行,在运行中

self._run()

文件C:\Python23 \lib \site-packages \\ \\py2exe\build_exe .py",第230行,在_run

dlls = self.find_dlls(扩展名)

文件" C:\Python23 \lib \site-packages \\ \\ http://2exe\build_exe.py",第300行,在find_dlls中

self.dll_excludes)

文件" C:\Python23 \lib \ site-packages \py2exe\build_exe.py",第768行,在find_dependend_dlls中

alldlls,warnings = bin_depends(loadpath,images,dll_excludes)

文件" C:\ Python23 \lib \site-packages \ py2exe\build_exe.py",第1086行,在bin_depends中

,结果为py2exe_util.depends(image,loadpath).items():

py2exe_util.bind_error:(120,''未实现调用'',''C:\\Python23 \\DLLs \\_sre.pyd'')

-

James Stroud

加州大学洛杉矶分校基因组学和蛋白质组学研究所

专栏951570

Los加利福尼亚州,90095

http://www.jamesstroud.com/

Hello,

My department has switched from vmware to wine/cxoffice. I have been playing with this all morning, and I''ve gotten this far. If someone has done this, could you point me in the right direction
euler 65% winpy
Enthought Edition build 1057
Python 2.3.3 (#51, Feb 16 2004, 04:07:52) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
py> from distutils.core import setup
py> import py2exe
py> import sys
py> sys.argv.append(''py2exe'')
py> setup(console=["erase.py"])
running py2exe
*** searching for required modules ***
*** parsing results ***
creating python loader for extension ''_sre''
*** finding dlls needed ***
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python23\lib\distutils\core.py", line 149, in setup
dist.run_commands()
File "C:\Python23\lib\distutils\dist.py", line 907, in run_commands
self.run_command(cmd)
File "C:\Python23\lib\distutils\dist.py", line 927, in run_command
cmd_obj.run()
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 183, in run
self._run()
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 230, in _run
dlls = self.find_dlls(extensions)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 300, in find_dlls
self.dll_excludes)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 768, in find_dependend_dlls
alldlls, warnings = bin_depends(loadpath, images, dll_excludes)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 1086, in bin_depends
for result in py2exe_util.depends(image, loadpath).items():
py2exe_util.bind_error: (120, ''Call not implemented'', ''C:\\Python23\\DLLs\\_sre.pyd'')
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/

推荐答案

我知道Thomas Heller监视这个列表但是你应该将这个发布到gmane.comp.python.py2exe,因为它是py2exe

新闻组。


FYI,Larry Bates


James Stroud写道:
I know Thomas Heller monitors this list but you should probably
post this to gmane.comp.python.py2exe as it is the py2exe
newsgroup.

FYI, Larry Bates

James Stroud wrote:
您好,

我的部门已从vmware切换到wine / cxoffice 。我整个上午一直在玩这个,我已经走到了这一步。如果有人这样做了,你能否指出我正确的方向

euler 65%winpy
Enthought Edition build 1057
Python 2.3.3(#51,2004年2月16日, 04:07:52)[MSC v.1200 32位(英特尔)]在win32上
输入help,copyright,credit等等。或许可证或了解更多信息。
py>来自distutils.core import setup
py>导入py2exe
py> import sys
py> sys.argv.append(''py2exe'')
py> setup(console = [" erase.py"])
运行py2exe
***搜索所需的模块***
***解析结果***
创建python loader for extension''_sre''
***查找需要的dll ***
Traceback(最近一次调用最后一次):
文件"< stdin>",第1行,在?
文件C:\Python23 \lib \distutils \ core.py,第149行,在设置中
dist.run_commands()
文件C :\Python23 \lib \distutils \dist.py",第907行,在run_commands中
self.run_command(cmd)
文件C:\Python23 \lib \ didisttils \dist.py",第927行,在run_command中
cmd_obj.run()
文件C:\Python23 \lib \site-packages \ py2exe \ build_exe.py ,第183行,在运行中
self._run()
文件C:\Python23 \lib \site-packages \py2exe \ build_exe.py,第230行,在_run中
dlls = self.f ind_dlls(extensions)
文件C:\Python23 \lib \site-packages \py2exe\build_exe.py,第300行,在find_dlls中
self.dll_excludes)
文件C:\Python23 \lib \site-packages \py2exe \build_exe.py,第768行,在find_dependend_dlls中
alldlls,warnings = bin_depends(loadpath,images,dll_excludes)
文件C:\Python23 \lib \site-packages \ py2exe \ build_exe.py,第1086行,在bin_depends
中获取结果py2exe_util.depends(image,loadpath).items ():
py2exe_util.bind_error:(120,''未实现调用'',''C:\\Python23 \\DLLs \\_sre.pyd'')
Hello,

My department has switched from vmware to wine/cxoffice. I have been playing with this all morning, and I''ve gotten this far. If someone has done this, could you point me in the right direction
euler 65% winpy
Enthought Edition build 1057
Python 2.3.3 (#51, Feb 16 2004, 04:07:52) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
py> from distutils.core import setup
py> import py2exe
py> import sys
py> sys.argv.append(''py2exe'')
py> setup(console=["erase.py"])
running py2exe
*** searching for required modules ***
*** parsing results ***
creating python loader for extension ''_sre''
*** finding dlls needed ***
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python23\lib\distutils\core.py", line 149, in setup
dist.run_commands()
File "C:\Python23\lib\distutils\dist.py", line 907, in run_commands
self.run_command(cmd)
File "C:\Python23\lib\distutils\dist.py", line 927, in run_command
cmd_obj.run()
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 183, in run
self._run()
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 230, in _run
dlls = self.find_dlls(extensions)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 300, in find_dlls
self.dll_excludes)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 768, in find_dependend_dlls
alldlls, warnings = bin_depends(loadpath, images, dll_excludes)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 1086, in bin_depends
for result in py2exe_util.depends(image, loadpath).items():
py2exe_util.bind_error: (120, ''Call not implemented'', ''C:\\Python23\\DLLs\\_sre.pyd'')



我知道Thomas Heller会监控这个列表但是你应该将这个帖子发送到gmane.comp.python.py2exe是py2exe

新闻组。


FYI,Larry Bates


James Stroud wrot e:
I know Thomas Heller monitors this list but you should probably
post this to gmane.comp.python.py2exe as it is the py2exe
newsgroup.

FYI, Larry Bates

James Stroud wrote:
您好,
我的部门已从vmware切换到wine / cxoffice。我整个上午一直在玩这个,我已经走到了这一步。如果有人这样做了,你能否指出我正确的方向

euler 65%winpy
Enthought Edition build 1057
Python 2.3.3(#51,2004年2月16日, 04:07:52)[MSC v.1200 32位(英特尔)]在win32上
输入help,copyright,credit等等。或许可证或了解更多信息。
py>来自distutils.core import setup
py>导入py2exe
py> import sys
py> sys.argv.append(''py2exe'')
py> setup(console = [" erase.py"])
运行py2exe
***搜索所需的模块***
***解析结果***
创建python loader for extension''_sre''
***查找需要的dll ***
Traceback(最近一次调用最后一次):
文件"< stdin>",第1行,在?
文件C:\Python23 \lib \distutils \ core.py,第149行,在设置中
dist.run_commands()
文件C :\Python23 \lib \distutils \dist.py",第907行,在run_commands中
self.run_command(cmd)
文件C:\Python23 \lib \ didisttils \dist.py",第927行,在run_command中
cmd_obj.run()
文件C:\Python23 \lib \site-packages \ py2exe \ build_exe.py ,第183行,在运行中
self._run()
文件C:\Python23 \lib \site-packages \py2exe \ build_exe.py,第230行,在_run中
dlls = self.f ind_dlls(extensions)
文件C:\Python23 \lib \site-packages \py2exe\build_exe.py,第300行,在find_dlls中
self.dll_excludes)
文件C:\Python23 \lib \site-packages \py2exe \build_exe.py,第768行,在find_dependend_dlls中
alldlls,warnings = bin_depends(loadpath,images,dll_excludes)
文件C:\Python23 \lib \site-packages \ py2exe \ build_exe.py,第1086行,在bin_depends
中获取结果py2exe_util.depends(image,loadpath).items ():
py2exe_util.bind_error:(120,''未实现调用'',''C:\\Python23 \\DLLs \\_sre.pyd'')
Hello,

My department has switched from vmware to wine/cxoffice. I have been playing with this all morning, and I''ve gotten this far. If someone has done this, could you point me in the right direction
euler 65% winpy
Enthought Edition build 1057
Python 2.3.3 (#51, Feb 16 2004, 04:07:52) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
py> from distutils.core import setup
py> import py2exe
py> import sys
py> sys.argv.append(''py2exe'')
py> setup(console=["erase.py"])
running py2exe
*** searching for required modules ***
*** parsing results ***
creating python loader for extension ''_sre''
*** finding dlls needed ***
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python23\lib\distutils\core.py", line 149, in setup
dist.run_commands()
File "C:\Python23\lib\distutils\dist.py", line 907, in run_commands
self.run_command(cmd)
File "C:\Python23\lib\distutils\dist.py", line 927, in run_command
cmd_obj.run()
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 183, in run
self._run()
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 230, in _run
dlls = self.find_dlls(extensions)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 300, in find_dlls
self.dll_excludes)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 768, in find_dependend_dlls
alldlls, warnings = bin_depends(loadpath, images, dll_excludes)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 1086, in bin_depends
for result in py2exe_util.depends(image, loadpath).items():
py2exe_util.bind_error: (120, ''Call not implemented'', ''C:\\Python23\\DLLs\\_sre.pyd'')






James Stroud< js ***** @ mbi.ucla.edu>写道:
James Stroud <js*****@mbi.ucla.edu> writes:
您好,

我的部门已从vmware切换到wine / cxoffice。我整个上午一直在玩这个,我已经走到了这一步。如果有人这样做了,你能指出我正确的方向

euler 65%winpy
Enthought Edition build 1057
Python 2.3.3(#51, 2004年2月16日,04:07:52)[MSC v.1200 32位(英特尔)]在win32上
类型帮助,版权,信用和或许可证或了解更多信息。
py>来自distutils.core import setup
py>导入py2exe
py> import sys
py> sys.argv.append(''py2exe'')
py> setup(console = [" erase.py"])
运行py2exe
***搜索所需的模块***
***解析结果***
创建python loader for extension''_sre''
***查找需要的dll ***
Traceback(最近一次调用最后一次):
文件"< stdin>",第1行,在?
文件C:\Python23 \lib \distutils \ core.py,第149行,在设置中
dist.run_commands()
文件C :\Python23 \lib \distutils \dist.py",第907行,在run_commands中
self.run_command(cmd)
文件C:\Python23 \lib \ didisttils \dist.py",第927行,在run_command中
cmd_obj.run()
文件C:\Python23 \lib \site-packages \ py2exe \ build_exe.py ,第183行,在运行中
self._run()
文件C:\Python23 \lib \site-packages \py2exe \ build_exe.py,第230行,在_run中
dlls = self.f ind_dlls(extensions)
文件C:\Python23 \lib \site-packages \py2exe\build_exe.py,第300行,在find_dlls中
self.dll_excludes)
文件C:\Python23 \lib \site-packages \py2exe \build_exe.py,第768行,在find_dependend_dlls中
alldlls,warnings = bin_depends(loadpath,images,dll_excludes)
文件C:\Python23 \lib \site-packages \ py2exe \ build_exe.py,第1086行,在bin_depends
中获取结果py2exe_util.depends(image,loadpath).items ():
py2exe_util.bind_error:(120,''未实现调用'',''C:\\Python23 \\DLLs \\_sre.pyd'')
Hello,

My department has switched from vmware to wine/cxoffice. I have been
playing with this all morning, and I''ve gotten this far. If someone
has done this, could you point me in the right direction
euler 65% winpy
Enthought Edition build 1057
Python 2.3.3 (#51, Feb 16 2004, 04:07:52) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
py> from distutils.core import setup
py> import py2exe
py> import sys
py> sys.argv.append(''py2exe'')
py> setup(console=["erase.py"])
running py2exe
*** searching for required modules ***
*** parsing results ***
creating python loader for extension ''_sre''
*** finding dlls needed ***
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python23\lib\distutils\core.py", line 149, in setup
dist.run_commands()
File "C:\Python23\lib\distutils\dist.py", line 907, in run_commands
self.run_command(cmd)
File "C:\Python23\lib\distutils\dist.py", line 927, in run_command
cmd_obj.run()
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 183, in run
self._run()
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 230, in _run
dlls = self.find_dlls(extensions)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 300, in find_dlls
self.dll_excludes)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 768, in find_dependend_dlls
alldlls, warnings = bin_depends(loadpath, images, dll_excludes)
File "C:\Python23\lib\site-packages\py2exe\build_exe.py", line 1086, in bin_depends
for result in py2exe_util.depends(image, loadpath).items():
py2exe_util.bind_error: (120, ''Call not implemented'', ''C:\\Python23\\DLLs\\_sre.pyd'')




我想这意味着wine不会在

imagehlp.dll(py2exe_util使用)中实现某些功能。它*可能*可以写一个

纯Python版本的二进制依赖性分析(afaik,McMillan

安装程序有这样的代码) - 但是因为我不是在Linux上运行py2exe我不会自己做b $ b。更好的是修复葡萄酒;-),如果我的猜测是正确的。


托马斯



I guess this means that wine does not implement some function in
imagehlp.dll (which py2exe_util uses). It *may* be possible to write a
pure Python version of the binary dependency analysis (afaik, McMillan
installer has such code) - but since I don''t run py2exe on linux I won''t
do it myself. Even better would be to fix wine ;-), if my guess is correct.

Thomas


这篇关于使用wine / cxoffice的p2exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆