473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

linux wine py2exe ??

Hi all,

I've tried to create a .exe file on linux (Fedora).

So in installed wine, python2.3 with wine and py2exe (with wine ofcourse)

I made a setup file (setup.py) and ran
wine python.exe setup.py py2exe


Does anybody know what I've done wrong? Or is it just not possible

Greetings,
Arjen

output:
arjen@linux Python23]$ wine python.exe setup.py py2exe
fixme:console:SetConsoleCtrlHandler (0x7800f03e,1) - no error checking or testing yet
running py2exe
running build
running build_scripts
running install_scripts
fixme:imagehlp:BindImageEx (7, "C:\\Python23\\DLLs\\_sre.pyd", "C:\\Python23\\DLLs;C:\\Python23;C:\\WINDOWS\\SYST EM;C:\\WINDOWS;c:\\windows;c:\\windows\\"..., (null), 0x10001570): stub
Traceback (most recent call last):
File "setup.py", line 6, in ?
scripts=["vervang.py"],
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 698, in run
extra_path + sys.path)
File "C:\PYTHON23\Lib\site-packages\py2exe\build_exe.py", line 842, in find_dependend_dlls
alldlls, warnings = bin_depends(loadpath, images)
File "C:\PYTHON23\Lib\site-packages\py2exe\build_exe.py", line 1154, in bin_depends
for result in py2exe_util.depends(image, loadpath).items():
py2exe_util.bind_error: C:\Python23\DLLs\_sre.pyd

####
from distutils.core import setup
import py2exe

setup(name="vervang",
scripts=["vervang.py"],
)
#####

Jul 18 '05 #1
2 4856
On Fri, 19 Dec 2003 20:22:23 +0100, in article
<news:pa****************************@hccnet.nl>, duikboot wrote:
Does anybody know what I've done wrong?
No.
Or is it just not possible
Maybe.
arjen@linux Python23]$ wine python.exe setup.py py2exe [...] py2exe_util.bind_error: C:\Python23\DLLs\_sre.pyd


Did you copy the pyd file into C:\Python23\DLLs\ on the (WINE-mapped) C:
drive? In the past, I've copied DLLs one by one into my WINE configuration
directory as applications complained about not finding them. In some
cases, I've successfully run the programs; some not.

Does the WINE log provide more information?
Jul 18 '05 #2
duikboot <ar***********************@hccnet.nl> wrote:

I've tried to create a .exe file on linux (Fedora).

So in installed wine, python2.3 with wine and py2exe (with wine ofcourse)

I made a setup file (setup.py) and ran
wine python.exe setup.py py2exe


Does anybody know what I've done wrong? Or is it just not possible


Before folks spend a lot of time giving the answer, I would just like to
confirm something.

Are you REALLY trying to create a Windows executable on Linux? Or are you
actually wanting to make a Linux executable, and you have been misled into
thinking that py2exe is the only way to do that?
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: Vamsi Mudrageda | last post by:
I am kind of new to Python, and after trying and using wxPython, I found it kind of lacking in easy-to-read documentation, speed at loading, and GUI response-time. So I am looking for an another...
9
by: Skip Montanaro | last post by:
I'd like to package up my typing watcher script in a bundled form (no separate Python install required) for use on Windows. (Un)fortunately, I don't have access to a Windows computer. Do any of...
15
by: James Stroud | last post by:
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...
5
by: Zlatko Matiæ | last post by:
Is there any way to run (emulate?) MS Access application on Linux ?
10
by: Ka | last post by:
Hi, all I use Redhat8.0, and I complie a program with wine in this box, my wine version is wine-20020605-2 by Redhat. and after install wine, I just locate the library in /usr/lib/wine ...
21
by: sachin dooble | last post by:
is there any method where i can run my linux code that is all the a.out i made on linux to run on windows. plz tell me the way.
24
by: Mark Goldin | last post by:
Can I run my aspx pages from Linux box? Will these pages be able to connect to SQL server? Thanks
6
by: Muffinthief | last post by:
I'm sure we're all aware of py2exe, but is there a Linux equivalent, and if not, does py2exe work in WINE?
1
by: nirmalarasu | last post by:
Hi, Iam look looking some standalone python package for both in windows and linux. In windows py2exe tool serving my purpose,is there any similar tool i can find in linux.? Though most of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.