Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win32 installer issue on Windows XP #2071

Closed
sunqiang opened this issue Jul 1, 2012 · 15 comments
Closed

win32 installer issue on Windows XP #2071

sunqiang opened this issue Jul 1, 2012 · 15 comments

Comments

@sunqiang
Copy link

sunqiang commented Jul 1, 2012

after installed from http://pypi.python.org/packages/any/i/ipython/ipython-0.13.py2-win32.exe#md5=646ca7a11a3b80012b7a1922a5160ace , run C:\Python27\Scripts\ipython.exe will got a error: "C:\Python27\Scripts\ipython.exe is not a valid Win32 application."

update: platform details: 32bit Python 2.7.3 on Windows XP Pro sp3 (x86 32bit)

@minrk
Copy link
Member

minrk commented Jul 1, 2012

Can you give more platform details? I can confirm that this file makes a working executable for:

32b Python 2.7.2 on Windows 7 (x64).

@sunqiang
Copy link
Author

sunqiang commented Jul 1, 2012

32bit Python 2.7.3 on Windows XP Pro sp3 (x86 32bit)

@minrk
Copy link
Member

minrk commented Jul 1, 2012

Can you try this one?

@sunqiang
Copy link
Author

sunqiang commented Jul 1, 2012

thanks, this one works.

@fperez
Copy link
Member

fperez commented Jul 1, 2012

@minrk, what happened? It seems you have this one under control, I'm just curious

@jstenar
Copy link
Member

jstenar commented Jul 1, 2012

I'm unable to recreate this on windows 7 64-bit using python 2.7.2

What version of windows are you running? Did you try to uninstall reinstall?

@sunqiang
Copy link
Author

sunqiang commented Jul 1, 2012

@jstenar , it's Windows XP, I have updated the platform details in the original post.

@minrk
Copy link
Member

minrk commented Jul 1, 2012

For details: The one currently on PyPI was built by 64b Python 2.7.2 with '--plat-name=win32'. The test above was created by 32b Python 2.7.2 (both on Win7 x64). So I guess we need to make sure that the releases are made by 32b Pythons.

@minrk
Copy link
Member

minrk commented Jul 1, 2012

Should I just go ahead and replace the existing one on PyPI/GitHub with the new one?

@fperez
Copy link
Member

fperez commented Jul 1, 2012

Might as well. Just so I'm sure I'm understanding correctly: if we use 32b Pythons they can make 64b installers fine, but not the other way around?

@minrk
Copy link
Member

minrk commented Jul 1, 2012

Might as well.

Done.

if we use 32b Pythons they can make 64b installers fine, but not the other way around?

I believe that's true, but since this seems to be an XP-specific bug, I don't have an XPx64 VM to test.

As we are right now, the installers were all built in Windows 7 (x64) with:

  • py2-win32: 32b Python 2.7.1
  • py2-win-amd64: 64b Python 2.7.3
  • py3-win32: 32b Python 3.2.3
  • py3-win-amd64: 32b Python 3.2.3

These are all confirmed to work for their respective Pythons in a different Windows 7 x64 VM, and py2-win32 is now confirmed to work on XP.

@fperez
Copy link
Member

fperez commented Jul 1, 2012

On Sun, Jul 1, 2012 at 12:38 PM, Min RK
reply@reply.github.com
wrote:

These are all confirmed to work for their respective Pythons in a different Windows 7 x64 VM, and py2-win32 is now confirmed to work on XP.

Got it. Might be good to write this down in the 'releasing ipython'
section of the docs. Just dump a section on Windows releasing with
whatever you think is important to remember that is not done by your
script, while it's fresh in your mind. Will make the next release
easier.

Thanks again for the great windows work, we're in much better release
shape on windows now.

@minrk
Copy link
Member

minrk commented Jul 1, 2012

I can also add an assert in release_windows to require that the building Pythons be 32b. But that said, I also vote for 0.13 being the last version of IPython to support XP. It is eleven years old, and more than three years out of support from Microsoft, so XP users have no reasonable expectation to be able to use the latest version of anything.

@fperez
Copy link
Member

fperez commented Jul 1, 2012

On Sun, Jul 1, 2012 at 2:16 PM, Min RK
reply@reply.github.com
wrote:

I also vote for 0.13 being the last version of IPython to support XP.  It is eleven years old, and more than three years out of support from Microsoft, so XP users have no reasonable expectation to be able to use the latest version of anything.

+1

@temp4746
Copy link

This also happend to 0.13.1, this doesn't affect only XP it affects any 32-bit version of Windows which includes 32-bit Vista/7

@minrk minrk closed this as completed Jan 19, 2013
@minrk minrk added this to the no action milestone Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants