473,404 Members | 2,195 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,404 software developers and data experts.

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\HTMLmenu>python HTMLmenuSetup.py 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\\WTS\\HTMLmenu\\build\\bdist.win32\\wi nexe\\lib\\Python22\\Lib\\sit
e-packages', '', 'F:\\Larry\\Python', 'C:\\Python22\\Lib\\site-packages\\Pythonw
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\\HTMLgen', 'F:\\Larry\\Python\\Library', 'C:\\Python22\\lib\\site-
packages\\PIL', 'C:\\Python22\\lib\\site-packages\\dynwin', 'C:\\Python22\\lib\\
site-packages\\npstruct', 'C:\\Python22\\lib\\site-packages\\wxPython']
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 3006
On Mon, 07 Mar 2005 16:20:30 -0600, Larry Bates <lb****@syscononline.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\HTMLmenu>python HTMLmenuSetup.py 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\\WTS\\HTMLmenu\\build\\bdist.win32\\wi nexe\\lib\\Python22\\Lib\\sit
e-packages', '', 'F:\\Larry\\Python', 'C:\\Python22\\Lib\\site-packages\\Pythonw
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\\HTMLgen', 'F:\\Larry\\Python\\Library', 'C:\\Python22\\lib\\site-
packages\\PIL', 'C:\\Python22\\lib\\site-packages\\dynwin', 'C:\\Python22\\lib\\
site-packages\\npstruct', 'C:\\Python22\\lib\\site-packages\\wxPython']
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****@syscononline.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>python HTMLmenuSetup.py 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\\WTS\\HTMLmenu\\build\\bdist.win32\\wi nexe\\lib\\Python22\\Lib\\sit
e-packages', '', 'F:\\Larry\\Python', 'C:\\Python22\\Lib\\site-packages\\Pythonw
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\\HTMLgen', 'F:\\Larry\\Python\\Library', 'C:\\Python22\\lib\\site-
packages\\PIL', 'C:\\Python22\\lib\\site-packages\\dynwin', 'C:\\Python22\\lib\\
site-packages\\npstruct', 'C:\\Python22\\lib\\site-packages\\wxPython']
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_MACHINE\SOFTWARE\Python\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****@syscononline.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>python HTMLmenuSetup.py 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\\WTS\\HTMLmenu\\build\\bdist.win32\\wi nexe\\lib\\Python22\\Lib\\sit
e-packages', '', 'F:\\Larry\\Python', 'C:\\Python22\\Lib\\site-packages\\Pythonw
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\\HTMLgen', 'F:\\Larry\\Python\\Library', 'C:\\Python22\\lib\\site-
packages\\PIL', 'C:\\Python22\\lib\\site-packages\\dynwin', 'C:\\Python22\\lib\\
site-packages\\npstruct', 'C:\\Python22\\lib\\site-packages\\wxPython']
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_MACHINE\SOFTWARE\Python\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
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...
2
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
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...
2
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...
17
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...
4
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...
3
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...
5
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...
3
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.