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

Uninstalling Python 3.5 removes a "py.exe" that was installed with Python 3.4 #67809

Closed
pfmoore opened this issue Mar 9, 2015 · 2 comments
Closed

Comments

@pfmoore
Copy link
Member

pfmoore commented Mar 9, 2015

BPO 23621
Nosy @pfmoore, @tjguk, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/zooba'
closed_at = <Date 2015-03-15.04:34:43.306>
created_at = <Date 2015-03-09.12:20:12.293>
labels = ['expert-installation', 'OS-windows']
title = 'Uninstalling Python 3.5 removes a "py.exe" that was installed with Python 3.4'
updated_at = <Date 2015-03-15.04:34:43.305>
user = 'https://github.com/pfmoore'

bugs.python.org fields:

activity = <Date 2015-03-15.04:34:43.305>
actor = 'steve.dower'
assignee = 'steve.dower'
closed = True
closed_date = <Date 2015-03-15.04:34:43.306>
closer = 'steve.dower'
components = ['Installation', 'Windows']
creation = <Date 2015-03-09.12:20:12.293>
creator = 'paul.moore'
dependencies = []
files = []
hgrepos = []
issue_num = 23621
keywords = []
message_count = 2.0
messages = ['237640', '238123']
nosy_count = 4.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue23621'
versions = ['Python 3.5']

@pfmoore
Copy link
Member Author

pfmoore commented Mar 9, 2015

When I installed Python 3.4, I included the py.exe launcher. I have just installed Python 3.5a0, then uninstalled it again, and the py.exe launcher has gone.

Either the 3.5 installer should notice that py.exe is already present and remember *not* to uninstall it, or it should warn the user when installing that continuing will take ownership of the launcher from a previous installation.

(I understand why having the same file owned by 2 installers causes problems, and that there's no easy fix, but the current behaviour is not at all friendly - I now have to reinstall Python 3.4 to fix it, or at least re-download the installer and try a repair, which might work I guess).

@zooba
Copy link
Member

zooba commented Mar 15, 2015

This is already fixed for 3.5 and later, since the launcher now has a consistent component ID regardless of which version/architecture of Python is installed.

It's too late to go back and make equivalent changes to the installer for 3.4 - running a Repair on a 3.4 installation is the best way to get it back.

@zooba zooba closed this as completed Mar 15, 2015
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
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

2 participants