Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7170627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:15:02+00:00 2026-05-28T15:15:02+00:00

I am trying to package a python application on my 64 bit windows 7

  • 0

I am trying to package a python application on my 64 bit windows 7 machine using py2exe.
The final target of this application are 32 bit windows machines.

I am using 32 bit python 2.7 on the 64 bit windows 7 machine. When I package the application , py2exe warns me of several DLLs from the system32 directory that need to be packaged .

The built exe now fails to run on the destination machines : windows XP (32 bit) and windows Vista (32 bit) with the message saying C:\myapp\bin\WS2_32.dll is corrupted and I need to check it against the Windows installation.

Checking :
WIndows 7 64 bit : system32 directory WS2_32.dll has size 290kb
Windows XP 32 bit : system directory has size 80 kb

My question is , can I build a XP/Vista 32 bit application using py2exe from Windows 7 given these differences in DLL size.

I also tried replacing the C:\myapp\bin\WS2_32.dll with the XP DLL..but this time the application didnt launch.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:15:03+00:00Added an answer on May 28, 2026 at 3:15 pm

    py2exe tells you:

    Your executable(s) also depend on these dlls which are not included,
    you may or may not need to distribute them.

    Make sure you have the license if you distribute any of them, and
    make sure you don’t distribute files belonging to the operating system.

    WS2_32.dll is part of the operating system.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make an chat application using python and django. I almost
I'm trying to distribute this app that I wrote in python. The application consists
I am trying automate a login process to my web application using Selenium-Python Client
I'm trying create an executable for Windows for a GUI application in tkinter using
I am trying to use this package: http://pypi.python.org/pypi/guess-language/0.1 I've read the documentation/wiki, but can't
Ok, so I'm trying to google the win32com python package and the python.Interpreter COM
I'm trying to write a python script that packages our software. This script needs
To be specific, I was trying this code: package hello; public class Hello {
Trying to install pear package and keep getting this strange error. Can you shed
Building a python application that converts raw audio files into wave using sox on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.