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 7980581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:07:07+00:00 2026-06-04T10:07:07+00:00

I have a python program I wrote that I am trying to compile with

  • 0

I have a python program I wrote that I am trying to “compile” with py2exe, everything goes well and the executable is created. The first time I run the program I get this error:

Traceback (most recent call last):
File “IMGui.py”, line 13, in
ImportError: No module named IMCrypt2

I found that if I manually add my custom modules to /lib/shared.zip and run the program again, I get THIS error:

Traceback (most recent call last):
File “IMGui.py”, line 13, in
zipimport.ZipImportError: can’t find module ‘IMCrypt2’

I have been doing some extensive googling, 2 solutions I’ve found on the web were to delete the ‘dist’ and ‘build’ folders and try again, and to add “includes”:”decimal” to my options, but neither of these solutions have worked for me D=

I’m using python 2.5 (I was using new version, but building with those were giving me other strange runtime errors, and the version I did successfully build on Windows 7 ONLY worked on Windows 7, so I’m trying again using Python 2.5 on Windows XP in an attempt to get a more ‘universal’ windows executable)

I’m completely stumped! Any help would be greatly appreciated!

  • 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-06-04T10:07:09+00:00Added an answer on June 4, 2026 at 10:07 am

    I solved my own problem (kinda), I was able to avoid this error and successfully ‘compile’ my code by consolidating all my modules in to a single file, so that no custom modules were imported. It resulted in some super messy code, but it worked!

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

Sidebar

Related Questions

I have a python program that opens several urls in seperate tabs in a
I have a Python program (with Django - does this matter?) that I want
I have a python program that is going to eat a lot of memory,
I have a python program/file that I want to run repeatedly and calculate the
I have a python program that I am currently working on which is working
I have a simple python program that I'd like to daemonize. Since the point
I am trying to write a cross-platform python program that would run in the
I am trying to write a python program using Python 3 I have to
I have a python program that does something like this: Read a row from
Hello I am trying to write a program in python that asks the user

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.