473,698 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

py2exe error: 2.4.2.4: No such file or directory

I had occasion to look back at a project I did over a year ago
and needed to make one small change. I use py2exe to package
it for distribution via Inno Setup. After making my change
I tried to run my setup script that worked fine before and
get the following message:

F:\SYSCON\WTS\H TMLmenu>python HTMLmenuSetup.p y py2exe -w
running py2exe
running build
running build_scripts
not copying HTMLmenu.py (up-to-date)
running install_scripts
not copying build\scripts-2.2\HTMLmenu.py (output up-to-date)
+----------------------------------------------------
| Processing script HTMLmenu.py with py2exe-0.3.3
+----------------------------------------------------
Searching modules needed to run 'HTMLmenu.py' on path:
['F:\\SYSCON\\WT S\\HTMLmenu\\bu ild\\bdist.win3 2\\winexe\\lib\ \Python22\\Lib\ \sit
e-packages', '', 'F:\\Larry\\Pyt hon', 'C:\\Python22\\ Lib\\site-packages\\Pytho nw
in', 'C:\\Python22\\ Lib\\site-packages\\win32 ', 'C:\\Python22\\ Lib\\site-package
s\\win32\\lib', 'C:\\Python22\\ Lib\\site-packages', 'C:\\Python22\\ DLLs', 'C:\\P
ython22\\lib', 'C:\\Python22\\ lib\\lib-tk', 'C:\\Python22', 'C:\\Python22\\ lib\\
site-packages\\HTMLg en', 'F:\\Larry\\Pyt hon\\Library', 'C:\\Python22\\ lib\\site-
packages\\PIL', 'C:\\Python22\\ lib\\site-packages\\dynwi n', 'C:\\Python22\\ lib\\
site-packages\\npstr uct', 'C:\\Python22\\ lib\\site-packages\\wxPyt hon']
error: 2.4.2.4: No such file or directory

The only thing that I can think of is that perhaps I've upgraded my
wxWindows version. I checked and 2.4.2.4 is the version, but I don't
know why py2exe is looking for such a directory.

Anybody out there have a clue?

Thanks in advance,
Larry Bates
Jul 18 '05 #1
3 3026
On Mon, 07 Mar 2005 16:20:30 -0600, Larry Bates <lb****@syscono nline.com> wrote:
I had occasion to look back at a project I did over a year ago
and needed to make one small change. I use py2exe to package
it for distribution via Inno Setup. After making my change
I tried to run my setup script that worked fine before and
get the following message:

F:\SYSCON\WTS\H TMLmenu>python HTMLmenuSetup.p y py2exe -w
running py2exe
running build
running build_scripts
not copying HTMLmenu.py (up-to-date)
running install_scripts
not copying build\scripts-2.2\HTMLmenu.py (output up-to-date)
+----------------------------------------------------
| Processing script HTMLmenu.py with py2exe-0.3.3
+----------------------------------------------------
Searching modules needed to run 'HTMLmenu.py' on path:
['F:\\SYSCON\\WT S\\HTMLmenu\\bu ild\\bdist.win3 2\\winexe\\lib\ \Python22\\Lib\ \sit
e-packages', '', 'F:\\Larry\\Pyt hon', 'C:\\Python22\\ Lib\\site-packages\\Pytho nw
in', 'C:\\Python22\\ Lib\\site-packages\\win32 ', 'C:\\Python22\\ Lib\\site-package
s\\win32\\lib', 'C:\\Python22\\ Lib\\site-packages', 'C:\\Python22\\ DLLs', 'C:\\P
ython22\\lib', 'C:\\Python22\\ lib\\lib-tk', 'C:\\Python22', 'C:\\Python22\\ lib\\
site-packages\\HTMLg en', 'F:\\Larry\\Pyt hon\\Library', 'C:\\Python22\\ lib\\site-
packages\\PIL', 'C:\\Python22\\ lib\\site-packages\\dynwi n', 'C:\\Python22\\ lib\\
site-packages\\npstr uct', 'C:\\Python22\\ lib\\site-packages\\wxPyt hon']
error: 2.4.2.4: No such file or directory

The only thing that I can think of is that perhaps I've upgraded my
wxWindows version. I checked and 2.4.2.4 is the version, but I don't
know why py2exe is looking for such a directory.

Anybody out there have a clue?


it could have something to do ./site-packages/wx.pth

Stephen
Jul 18 '05 #2
Larry Bates <lb****@syscono nline.com> writes:
I had occasion to look back at a project I did over a year ago
and needed to make one small change. I use py2exe to package
it for distribution via Inno Setup. After making my change
I tried to run my setup script that worked fine before and
get the following message:

F:\SYSCON\WTS\H TMLmenu>python HTMLmenuSetup.p y py2exe -w
running py2exe
running build
running build_scripts
not copying HTMLmenu.py (up-to-date)
running install_scripts
not copying build\scripts-2.2\HTMLmenu.py (output up-to-date)
+----------------------------------------------------
| Processing script HTMLmenu.py with py2exe-0.3.3
+----------------------------------------------------
Searching modules needed to run 'HTMLmenu.py' on path:
['F:\\SYSCON\\WT S\\HTMLmenu\\bu ild\\bdist.win3 2\\winexe\\lib\ \Python22\\Lib\ \sit
e-packages', '', 'F:\\Larry\\Pyt hon', 'C:\\Python22\\ Lib\\site-packages\\Pytho nw
in', 'C:\\Python22\\ Lib\\site-packages\\win32 ', 'C:\\Python22\\ Lib\\site-package
s\\win32\\lib', 'C:\\Python22\\ Lib\\site-packages', 'C:\\Python22\\ DLLs', 'C:\\P
ython22\\lib', 'C:\\Python22\\ lib\\lib-tk', 'C:\\Python22', 'C:\\Python22\\ lib\\
site-packages\\HTMLg en', 'F:\\Larry\\Pyt hon\\Library', 'C:\\Python22\\ lib\\site-
packages\\PIL', 'C:\\Python22\\ lib\\site-packages\\dynwi n', 'C:\\Python22\\ lib\\
site-packages\\npstr uct', 'C:\\Python22\\ lib\\site-packages\\wxPyt hon']
error: 2.4.2.4: No such file or directory

The only thing that I can think of is that perhaps I've upgraded my
wxWindows version. I checked and 2.4.2.4 is the version, but I don't
know why py2exe is looking for such a directory.


Old versions of wxWindows put an entry in the registry under the
HKEY_LOCAL_MACH INE\SOFTWARE\Py thon\PythonCore \2.x\Modules key. This
registry entry is (was) used to extend the Python path, but wxWindows
used it to register it's version number. You should try to remove this
entry and run py2exe again.

Thomas
Jul 18 '05 #3
Thomas,

Right on the mark. Thanks for the help.

Larry Bates
Thomas Heller wrote:
Larry Bates <lb****@syscono nline.com> writes:

I had occasion to look back at a project I did over a year ago
and needed to make one small change. I use py2exe to package
it for distribution via Inno Setup. After making my change
I tried to run my setup script that worked fine before and
get the following message:

F:\SYSCON\WTS \HTMLmenu>pytho n HTMLmenuSetup.p y py2exe -w
running py2exe
running build
running build_scripts
not copying HTMLmenu.py (up-to-date)
running install_scripts
not copying build\scripts-2.2\HTMLmenu.py (output up-to-date)
+----------------------------------------------------
| Processing script HTMLmenu.py with py2exe-0.3.3
+----------------------------------------------------
Searching modules needed to run 'HTMLmenu.py' on path:
['F:\\SYSCON\\WT S\\HTMLmenu\\bu ild\\bdist.win3 2\\winexe\\lib\ \Python22\\Lib\ \sit
e-packages', '', 'F:\\Larry\\Pyt hon', 'C:\\Python22\\ Lib\\site-packages\\Pytho nw
in', 'C:\\Python22\\ Lib\\site-packages\\win32 ', 'C:\\Python22\\ Lib\\site-package
s\\win32\\lib ', 'C:\\Python22\\ Lib\\site-packages', 'C:\\Python22\\ DLLs', 'C:\\P
ython22\\lib' , 'C:\\Python22\\ lib\\lib-tk', 'C:\\Python22', 'C:\\Python22\\ lib\\
site-packages\\HTMLg en', 'F:\\Larry\\Pyt hon\\Library', 'C:\\Python22\\ lib\\site-
packages\\PIL ', 'C:\\Python22\\ lib\\site-packages\\dynwi n', 'C:\\Python22\\ lib\\
site-packages\\npstr uct', 'C:\\Python22\\ lib\\site-packages\\wxPyt hon']
error: 2.4.2.4: No such file or directory

The only thing that I can think of is that perhaps I've upgraded my
wxWindows version. I checked and 2.4.2.4 is the version, but I don't
know why py2exe is looking for such a directory.

Old versions of wxWindows put an entry in the registry under the
HKEY_LOCAL_MACH INE\SOFTWARE\Py thon\PythonCore \2.x\Modules key. This
registry entry is (was) used to extend the Python path, but wxWindows
used it to register it's version number. You should try to remove this
entry and run py2exe again.

Thomas

Jul 18 '05 #4

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

Similar topics

20
3688
by: Thomas Heller | last post by:
I'm currently working on a new version of py2exe, which will require Python 2.3 and later, because it uses the zipimport mechanism. Since py2exe is a distutils extension, and since C compilers are commonly available on most platforms except Windows, it would be fairly easy to let py2exe generate a C source file installing this import hook, and let distutils' C compiler build an executable file from this. Would this be useful, or would...
2
17685
by: x-herbert | last post by:
Hi, I have a small test to "compile" al litle script as a WMI-Tester. The script include a wmi-wrapper and "insert" the Win32-modeles. here the code: my "WMI-Tester.py" ----- import wmi
5
4019
by: Rene Olsthoorn | last post by:
Dear readers, py2exe has a problem including libxml2. Not at building time, but at runtime. The libxml2.dll cannot be loaded... Is there anyone that NOT has the problem? (and can you drop me your setup.py scipt, please). Thanks in advance, Rene O.
2
2677
by: Kylotan | last post by:
I need to be able to build Py2Exe from the source code as I am making a Windows executable where I wish to preprocess the modules before importing them.It looks like I can do this by adding lines to Load_Module() in py2exe's start.c. However problem I have is that I can't build Py2Exe using the instructions provided. Using the designated command of "python setup.py install" I get this error: Traceback (most recent call last): File...
17
3419
by: Thomas Heller | last post by:
py2exe 0.6.1 released ===================== py2exe is a Python distutils extension which converts python scripts into executable windows programs, able to run without requiring a python installation. Console and Windows (GUI) applications, windows NT services, exe and dll COM servers are supported. Changes in this release:
4
34871
true911m
by: true911m | last post by:
Here's a little walkthrough to get py2exe up and running. I'm not an expert, so I can't help much with any problems you might have. This is what worked for me. The result here will be to convert a simple python app into a single .exe file that can be copied and run on any Windows XP machine. It may work on many other Windows platforms, but I haven't tested it. You'll need a working Python installation first, preferably v2.3 or later. ...
3
4717
by: vajratkarviraj | last post by:
i hav python2.5, matplotlib0.90.1, and py2exe for python 2.5 all on windows xp... i hav a python program(letsc.py) which uses the matplotlib package... and i want 2 make an exe of it for distribution on other comps... i used py2exe... i wrote a setup.py whose contents are : from distutils.core import setup import py2exe import matplotlib setup(console=, options={ 'py2exe': { 'packages' : ,
5
2121
by: Alexnb | last post by:
Hello I am sure most of you are familiar with py2exe. I am having a bit of a problem. See the program has a few pictures involved and the .ico it uses for the windows. However, the pictures are stored in the same directory as the source, something like: C:\Docs and settings\me\My docs\python\program. When I run the program for the interpreter, just as a .py, everything works just as it should. However, when I compile the main source as...
3
4437
by: MyPetSlug | last post by:
Hello Guys, Using Pythong 2.4 and py2exe 0.6.6. So, I've created a wxPython application that I use for testing. The idea is to have a tests directory so that every time the application starts, it looks in the directory and loads the tests it sees into a list it uses during runtime. So, I've got this working fine on my machine locally, but now I'm trying to get it working right with py2exe. My problem is, if I include my 'tests" package in...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.