This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Avoid creating duplicate PATH entries with the macOS installer
Type: Stage:
Components: Build, macOS Versions: Python 3.9, Python 3.8
Status: open Resolution:
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: ned.deily, rhettinger, ronaldoussoren
Priority: normal Keywords:

Created on 2019-09-28 18:40 by rhettinger, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg353471 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2019-09-28 18:40
The macOS installer updates .bash_profile to add the current python version to the PATH.

The problem is that it doesn't check to see if that work has already been done in a previous installation.  So, as a person install successive beta releases, release candidates, a final release, and then maintenance releases, the PATH variable grows and grows.

As it stands now, a manual edit is required every after every update/upgrade.
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82490
2020-12-06 20:02:50ronaldoussorensetnosy: + ronaldoussoren
components: + macOS
2019-09-28 18:40:52rhettingercreate