Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Installation on macOS fails with "The installer encountered an error" #103207

Copy link
Copy link
Closed
@ronaldoussoren

Description

@ronaldoussoren
Issue body actions

Thread on discuss: https://discuss.python.org/t/is-there-a-recent-mac-install-issue/23755/20

There are sporadic reports of errors during the installation of Python on macOS using our installer in which "Installer.app" gives a vague generic error, in particular “The installer encountered an error”.

This appears to be related to system security settings. In particular, the Installer.app needs access to the install package and hence needs the right to access the "Downloads" folder (for most users) or possibly "Full Disk Access" (for users storing the package outside of the Downloads folder).

The system normally asks the user to approve such access the first time the permissions are needed, but only once. If a user (accidentally) does not approve the system won't ask for permissions later on.

To fix the error:

  • Go to System Settings (or System Preferences), "Security & Privacy"
  • On Ventura: Look for "Files & Folders" and then "Installer". Make sure "Downloads" folder is present and enabled
  • On Ventura: (If previous step doesn't work or fix the issue): Look for "Full Disk Access" and then check that "Installer" is present and enabled (you can add the application using the "+" button at the bottom when it isn't present).

A different workaround for users: Install using the installer(1) command line tool.

On my system (where installing Python using the installer Works):

  • "Files & Folders": Installer is present and has access to "Downloads"
  • "Full Disk Access": Installer is present but does not have this permission enabled

At this time it is not clear what we can do about this other than documenting this (website, installer start page)

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-mactype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.