By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,345 Members | 1,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,345 IT Pros & Developers. It's quick & easy.

Cannot install python under Win32

P: n/a
Hello, I have tried to install python 2.5.1 and 2.5.2 with the same
error. The installer starts fine, but when it gets to the part that
says "Status: Copying new files" it terminates with an error code of
2356.

Does anyone have a clue to what to do?

Thanks in advance for your help
Jun 27 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hello, I have tried to install python 2.5.1 and 2.5.2 with the same
error. The installer starts fine, but when it gets to the part that
says "Status: Copying new files" it terminates with an error code of
2356.

Does anyone have a clue to what to do?
Run the installer with

msiexec /i <py.msi/l*v py.log,

then study py.log to find out what went wrong.

Are you by any chance running the installer from a SUBSTed drive?

Regards,
Martin
Jun 27 '08 #2

P: n/a
On Jun 10, 8:56 am, "Martin v. L÷wis" <mar...@v.loewis.dewrote:
Hello, I have tried to install python 2.5.1 and 2.5.2 with the same
error. The installer starts fine, but when it gets to the part that
says "Status: Copying new files" it terminates with an error code of
2356.
Does anyone have a clue to what to do?

Run the installer with

msiexec /i <py.msi/l*v py.log,

then study py.log to find out what went wrong.

Are you by any chance running the installer from a SUBSTed drive?

Regards,
Martin
Thanks for your fast reply Martin, I have done what you said and
digging in the log for the error code I found the following lines,
which sound bad but doesn't give me a clue:

"Action 9:04:50: InstallFiles. Copying new files
MSI (s) (78:54) [09:04:50:250]: Executing op:
ProgressTotal(Total=34700741,Type=0,ByteEquivalent =1)
MSI (s) (78:54) [09:04:50:250]: Executing op: SetTargetFolder(Folder=C:
\Python25\)
MSI (s) (78:54) [09:04:50:250]: Executing op:
SetSourceFolder(Folder=1\)
MSI (s) (78:54) [09:04:50:250]: Executing op:
ChangeMedia(,MediaPrompt=Please insert the
disk: ,MediaCabinet=python,BytesPerTick=32768,CopierType =2,ModuleFileName=C:
\WINDOWS\Installer\4f36b5.msi,,,,,IsFirstPhysicalM edia=1)
MSI (s) (78:54) [09:04:50:250]: Executing op:
FileCopy(SourceName=W9XPOPEN.EXE|
w9xpopen.exe,SourceCabKey=w9xpopen.exe,DestName=w9 xpopen.exe,Attributes=512,FileSize=4608,PerTick=32 768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58 982400,HashOptions=0,HashPart1=-1158250844,HashPart2=-457781963,HashPart3=862897926,HashPart4=-733767670,,)
MSI (s) (78:54) [09:04:50:250]: File: C:\Python25\w9xpopen.exe; To be
installed; Won't patch; No existing file
MSI (s) (78:54) [09:04:50:250]: Source for file 'w9xpopen.exe' is
compressed
InstallFiles: File: w9xpopen.exe, Directory: C:\Python25\, Size:
4608
MSI (s) (78:54) [09:04:50:265]: SOFTWARE RESTRICTION POLICY: Verifying
object --'C:\WINDOWS\Installer\4f36b5.msi' against software
restriction policy
MSI (s) (78:54) [09:04:50:265]: Note: 1: 2262 2: DigitalSignature 3:
-2147287038
MSI (s) (78:54) [09:04:50:265]: SOFTWARE RESTRICTION POLICY: C:\WINDOWS
\Installer\4f36b5.msi is not digitally signed
MSI (s) (78:54) [09:04:50:265]: SOFTWARE RESTRICTION POLICY: C:\WINDOWS
\Installer\4f36b5.msi is permitted to run at the 'unrestricted'
authorization level.
MSI (s) (78:54) [09:04:50:265]: Note: 1: 2356 2: python
MSI (s) (78:54) [09:04:50:265]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2356: Couldn't locate cabinet in stream: python.
The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code
is 2356. The arguments are: python, ,
MSI (s) (78:54) [09:04:51:843]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (78:54) [09:04:51:843]: Product: Python 2.5.2 -- The installer
has encountered an unexpected error installing this package. This may
indicate a problem with this package. The error code is 2356. The
arguments are: python, , "
Jun 27 '08 #3

P: n/a
On Jun 10, 8:56 am, "Martin v. L÷wis" <mar...@v.loewis.dewrote:
Hello, I have tried to install python 2.5.1 and 2.5.2 with the same
error. The installer starts fine, but when it gets to the part that
says "Status: Copying new files" it terminates with an error code of
2356.
Does anyone have a clue to what to do?

Run the installer with

msiexec /i <py.msi/l*v py.log,

then study py.log to find out what went wrong.

Are you by any chance running the installer from a SUBSTed drive?

Regards,
Martin
I forgot to tell you that I believe I am not installing from a SUBSTed
drive, the installer is in a directory under the "My Documents"
folder.

Thanks
Jun 27 '08 #4

P: n/a
DEBUG: Error 2356: Couldn't locate cabinet in stream: python.

That sounds bad indeed. In the original file, that stream is
definitely present, so most likely, you experienced a corruption
in download. Please check the md5 sum of the MSI file; if it differs,
download again (preferably using a different web browser).

Another possible source is that the Windows installer (running as
local system) does not have access to your

Regards,
Martin
Jun 27 '08 #5

P: n/a
Hi Martin, I checked the md5 checksum, it is the following:

d806af2312a33a8d817a6cc3d2ee7bed *python-2.5.2.msi

which doesn't match with the one on the website (
http://www.python.org/download/releases/2.5.2/ )

d71e45968fdc4e206bb69fbf4cb82b2d python-2.5.2.msi (11294720 bytes,
signature)

File size doesn't match either ( it is 11.292.672 bytes )

I downloaded it again and I have the same md5. We have one of those
"Panda GateDefender" gateways which look at everything you download
and surf. It must be corrupting the file somehow.

Anyways, I have found a co-worker who had a copy of Python 2.5, and I
have installed it without problems.

Thank you very much
Pedro
Jun 27 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.