Installation Error on Mac

Hello,
I have been trying to install MNE on my mac using the installer without success. The installer works fine until running package step, then it gives me a vague error message asking me to seek developers help. Would someone please guide me through it, or suggest a tutorial to install it manually? (I am not familiar with python or coding in general)

  • MNE version: 1.7.1_0-macOS_intel
  • operating system: macOS Sonoma 14.4.1

Here is the installer log

Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: @(#)PROGRAM:Install  PROJECT:Install-1000
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: @(#)PROGRAM:Installer  PROJECT:Installer-1210
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Hardware: Mac14,2 @ 0 MHz (x 8), 8192 MB RAM
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Running OS Build: macOS 14.4.1 (23E224)
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: MOZ_APP_SILENT_START=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: XRE_PROFILE_LOCAL_PATH=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: _NS_SAFE_APERTURE_COMPATIBILITY_MODES=2
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: MallocNanoZone=0
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: USER=hamadalali
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: MOZ_CRASHREPORTER_RESTART_ARG_1=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: MOZ_CRASHREPORTER_PING_DIRECTORY=/Users/hamadalali/Library/Application Support/Firefox/Pending Pings
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: __CFBundleIdentifier=com.apple.installer
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: XRE_START_OFFLINE=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: COMMAND_MODE=unix2003
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: XRE_RESTARTED_BY_PROFILE_MANAGER=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: XRE_PROFILE_PATH=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: XUL_APP_FILE=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: LOGNAME=hamadalali
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.zquIaML04w/Listeners
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: SYSTEM_VERSION_COMPAT=0
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: MOZ_CRASHREPORTER_DATA_DIRECTORY=/Users/hamadalali/Library/Application Support/Firefox/Crash Reports
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: XRE_BINARY_PATH=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: SHELL=/bin/bash
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: MOZ_CRASHREPORTER_STRINGS_OVERRIDE=/Applications/Firefox.app/Contents/Resources/browser/crashreporter-override.ini
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: MOZ_CRASHREPORTER_EVENTS_DIRECTORY=/Users/hamadalali/Library/Application Support/Firefox/Profiles/gddh95i3.default-release-1/crashes/events
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: MOZ_LAUNCHED_CHILD=
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: HOME=/Users/hamadalali
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: TMPDIR=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/T/
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: XPC_SERVICE_NAME=application.com.apple.installer.1152921500312120240.1152921500312120245
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Env: XPC_FLAGS=0x0
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: MNE-Python 1.7.1_0  Installation Log
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Opened from: /Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Product archive /Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg trustLevel=350
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: External component packages (6) trustLevel=350
Aug 12 11:03:44 MacBook-Air-6 Installer[6223]: Could not load resource readme: (null)
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: ================================================================================
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: User picked Standard Install
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Choices selected for installation:
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 	Upgrade: ""
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 	Upgrade: "Install MNE-Python"
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 		MNE-Python-1.7.1_0-macOS_Intel.pkg#prepare_installation.pkg : tools.mne.pkg.prepare_installation : 1.7.1_0
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 	Upgrade: "Create shortcuts"
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 		MNE-Python-1.7.1_0-macOS_Intel.pkg#shortcuts.pkg : tools.mne.pkg.shortcuts : 0
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 		MNE-Python-1.7.1_0-macOS_Intel.pkg#run_installation.pkg : tools.mne.pkg.run_installation : 0
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 		MNE-Python-1.7.1_0-macOS_Intel.pkg#user_post_install.pkg : tools.mne.pkg.user_post_install : 0
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 	Install: "Clear the package cache"
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: 		MNE-Python-1.7.1_0-macOS_Intel.pkg#cacheclean.pkg : tools.mne.pkg.cacheclean : 0
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: ================================================================================
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: It took 0.00 seconds to summarize the package selections.
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#prepare_installation.pkg
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#shortcuts.pkg
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#run_installation.pkg
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#user_post_install.pkg
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#cacheclean.pkg
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Set authorization level to none for session
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Packages have been authorized for installation.
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Will use PK session
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Using authorization level of none for IFPKInstallElement
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: PackageKit: Bypassing the enforcement checker since the destination is read/write
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Starting installation:
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Configuring volume "Macintosh HD"
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Preparing disk for local booted install.
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Free space on "Macintosh HD": 35.23 GB (35228377088 bytes).
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Create temporary directory "/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/T//Install.6223RImuYX"
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: IFPKInstallElement (5 packages)
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: Current Path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Aug 12 11:03:49 MacBook-Air-6 installd[4884]: PackageKit: Adding client PKInstallDaemonClient pid=6223, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Aug 12 11:03:49 MacBook-Air-6 Installer[6223]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Aug 12 11:03:49 MacBook-Air-6 installd[4884]: PackageKit: Set reponsibility for install to 6223
Aug 12 11:03:50 MacBook-Air-6 installd[4884]: PackageKit: Hosted team responsibility for install set to team:(9779L28NP8)
Aug 12 11:03:50 MacBook-Air-6 installd[4884]: PackageKit: ----- Begin install -----
Aug 12 11:03:50 MacBook-Air-6 installd[4884]: PackageKit: request=PKInstallRequest <5 packages, destination=/Users/hamadalali>
Aug 12 11:03:50 MacBook-Air-6 installd[4884]: PackageKit: packages=(
	    "PKLeopardPackage <id=tools.mne.pkg.prepare_installation, version=1.7.1_0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#prepare_installation.pkg>",
	    "PKLeopardPackage <id=tools.mne.pkg.shortcuts, version=0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#shortcuts.pkg>",
	    "PKLeopardPackage <id=tools.mne.pkg.run_installation, version=0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#run_installation.pkg>",
	    "PKLeopardPackage <id=tools.mne.pkg.user_post_install, version=0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#user_post_install.pkg>",
	    "PKLeopardPackage <id=tools.mne.pkg.cacheclean, version=0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#cacheclean.pkg>"
	)
Aug 12 11:03:52 MacBook-Air-6 installd[4884]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#prepare_installation.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/6D7D6C7E-3021-47F3-B325-CC1EB138F0CE.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501)
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#shortcuts.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/6D7D6C7E-3021-47F3-B325-CC1EB138F0CE.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501)
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#run_installation.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/6D7D6C7E-3021-47F3-B325-CC1EB138F0CE.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501)
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#user_post_install.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/6D7D6C7E-3021-47F3-B325-CC1EB138F0CE.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501)
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#cacheclean.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/6D7D6C7E-3021-47F3-B325-CC1EB138F0CE.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501)
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit: prevent user idle system sleep
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit: suspending backupd
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit (package_script_service): Preparing to execute script "./preinstall" in /private/tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.prepare_installation.Yn8miU
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: PackageKit: Preparing to execute script "preinstall" in /tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.prepare_installation.Yn8miU
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: Set responsibility to pid: 6223, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: Hosted team responsibility for script set to team:(9779L28NP8)
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: PackageKit: Executing script "preinstall" in /tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.prepare_installation.Yn8miU
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: ./preinstall: PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: PackageKit: Hosted team responsible for script has been cleared.
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: Responsibility set back to self.
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit: Using trashcan path /var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/T/PKInstallSandboxTrash/6D7D6C7E-3021-47F3-B325-CC1EB138F0CE.sandboxTrash for sandbox /var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/6D7D6C7E-3021-47F3-B325-CC1EB138F0CE.activeSandbox
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit: Shoving /var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/6D7D6C7E-3021-47F3-B325-CC1EB138F0CE.activeSandbox/Root (1 items) to /Users/hamadalali
Aug 12 11:03:56 MacBook-Air-6 installd[4884]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.prepare_installation.Yn8miU
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.prepare_installation.Yn8miU
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: Set responsibility to pid: 6223, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: Hosted team responsibility for script set to team:(9779L28NP8)
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.prepare_installation.Yn8miU
Aug 12 11:03:56 MacBook-Air-6 package_script_service[4892]: ./postinstall: PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python
Aug 12 11:03:56 MacBook-Air-6 root[6241]: Preparing packages...
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: PackageKit: Hosted team responsible for script has been cleared.
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: Responsibility set back to self.
Aug 12 11:04:37 MacBook-Air-6 installd[4884]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.shortcuts.z3lM53
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.shortcuts.z3lM53
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: Set responsibility to pid: 6223, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: Hosted team responsibility for script set to team:(9779L28NP8)
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.shortcuts.z3lM53
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: ./postinstall: + PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: ./postinstall: ++ cd /Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: ./postinstall: ++ pwd
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: ./postinstall: + PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: ./postinstall: + touch /Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python/pkgs/user_wants_shortcuts
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: PackageKit: Hosted team responsible for script has been cleared.
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: Responsibility set back to self.
Aug 12 11:04:37 MacBook-Air-6 installd[4884]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.run_installation.epREn4
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.run_installation.epREn4
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: Set responsibility to pid: 6223, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: Hosted team responsibility for script set to team:(9779L28NP8)
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.S2CUAi/Scripts/tools.mne.pkg.run_installation.epREn4
Aug 12 11:04:37 MacBook-Air-6 package_script_service[4892]: ./postinstall: PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python
Aug 12 11:04:37 MacBook-Air-6 root[6362]: Installing packages. This might take a few minutes.
Aug 12 11:04:54 MacBook-Air-6 package_script_service[4892]: ./postinstall: Downloading and Extracting Packages: ...working... done
Aug 12 11:04:54 MacBook-Air-6 package_script_service[4892]: ./postinstall: Downloading and Extracting Packages: ...working... done
Aug 12 11:04:59 MacBook-Air-6 package_script_service[4892]: ./postinstall: Preparing transaction: ...working... done
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall: Executing transaction: ...working... WARNING conda.core.envs_manager:register_env(67): Unable to register environment. Path not writable or missing.
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall:   environment location: /Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall:   registry file: /Users/hamadalali/.conda/environments.txt
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall: menuinst Exception
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall: Traceback (most recent call last):
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall:   File "conda/gateways/disk/create.py", line 261, in make_menu
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall:   File "menuinst/api.py", line 170, in _install_adapter
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall:   File "menuinst/utils.py", line 426, in wrapper_elevate
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall:   File "menuinst/api.py", line 62, in install
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall:   File "menuinst/platforms/osx.py", line 85, in create
Aug 12 11:07:15 MacBook-Air-6 package_script_service[4892]: ./postinstall: RuntimeError: App already exists at /Users/hamadalali/Applications/Spyder (MNE).app. Please remove the existing shortcut before installing. If you used conda to install this package, reinstall the package with --force-reinstall to create the shortcut once the location is cleared.done
Aug 12 11:07:25 MacBook-Air-6 package_script_service[4892]: ./postinstall: Python 3.12.2
Aug 12 11:07:57 MacBook-Air-6 package_script_service[4892]: ./postinstall: chown: /Users/hamadalali/.conda/environments.txt: Operation not permitted
Aug 12 11:07:57 MacBook-Air-6 package_script_service[4892]: PackageKit: Hosted team responsible for script has been cleared.
Aug 12 11:07:57 MacBook-Air-6 package_script_service[4892]: Responsibility set back to self.
Aug 12 11:07:57 MacBook-Air-6 installd[4884]: PackageKit: releasing backupd
Aug 12 11:07:57 MacBook-Air-6 installd[4884]: PackageKit: allow user idle system sleep
Aug 12 11:07:57 MacBook-Air-6 installd[4884]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MNE-Python-1.7.1_0-macOS_Intel.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#run_installation.pkg, PKInstallPackageIdentifier=tools.mne.pkg.run_installation, NSLocalizedDescription=An error occurred while running scripts from the package “MNE-Python-1.7.1_0-macOS_Intel.pkg”.} {
	    NSFilePath = "./postinstall";
	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cMNE-Python-1.7.1_0-macOS_Intel.pkg\U201d.";
	    NSURL = "file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#run_installation.pkg";
	    PKInstallPackageIdentifier = "tools.mne.pkg.run_installation";
	}
Aug 12 11:07:57 MacBook-Air-6 installd[4884]: PackageKit: Cleared responsibility for install from 6223.
Aug 12 11:07:57 MacBook-Air-6 installd[4884]: PackageKit: Cleared permissions on Installer.app
Aug 12 11:07:57 MacBook-Air-6 installd[4884]: PackageKit: Hosted team responsible for install has been cleared.
Aug 12 11:07:57 MacBook-Air-6 installd[4884]: PackageKit: Removing client PKInstallDaemonClient pid=6223, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Aug 12 11:07:57 MacBook-Air-6 Installer[6223]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MNE-Python-1.7.1_0-macOS_Intel.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_Intel.pkg#run_installation.pkg, PKInstallPackageIdentifier=tools.mne.pkg.run_installation, NSLocalizedDescription=An error occurred while running scripts from the package “MNE-Python-1.7.1_0-macOS_Intel.pkg”.}
Aug 12 11:07:57 MacBook-Air-6 Installer[6223]: PackageKit: Bypassing the enforcement checker since the destination is read/write
Aug 12 11:07:57 MacBook-Air-6 Installer[6223]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Aug 12 11:07:57 MacBook-Air-6 Installer[6223]: IFDInstallController 333AF960 state = 8
Aug 12 11:07:57 MacBook-Air-6 Installer[6223]: Displaying 'Install Failed' UI.
Aug 12 11:07:57 MacBook-Air-6 Installer[6223]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

Hello @Hamad, I’m sorry to hear you’re experiencing difficulties!

I believe the problem is to be found here somewhere:

I won’t have time to look into this for at least a week or two, but maybe @larsoner has got some time to spare?

Could you please ensure you remove any existing MNE installation from your /Applications folder before running the installer?

Best wishes and good luck,
Richard

Thank you for the quick response @richard . I have removed all MNE files from my laptop and then shut down, downloaded the installer again, and run it, but it failed again.
Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: @(#)PROGRAM:Install PROJECT:Install-1000 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: @(#)PROGRAM:Installer PROJECT:Installer-1210 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Hardware: Mac14,2 @ 0 MHz (x 8), 8192 MB RAM Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Running OS Build: macOS 14.4.1 (23E224) Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: MOZ_APP_SILENT_START= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: XRE_PROFILE_LOCAL_PATH= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: _NS_SAFE_APERTURE_COMPATIBILITY_MODES=2 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: MallocNanoZone=0 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: USER=hamadalali Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: MOZ_CRASHREPORTER_RESTART_ARG_1= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: MOZ_CRASHREPORTER_PING_DIRECTORY=/Users/hamadalali/Library/Application Support/Firefox/Pending Pings Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: __CFBundleIdentifier=com.apple.installer Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: XRE_START_OFFLINE= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: COMMAND_MODE=unix2003 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: XRE_RESTARTED_BY_PROFILE_MANAGER= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: XRE_PROFILE_PATH= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: XUL_APP_FILE= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: LOGNAME=hamadalali Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.Dhyocp8kLM/Listeners Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: SYSTEM_VERSION_COMPAT=0 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: MOZ_CRASHREPORTER_DATA_DIRECTORY=/Users/hamadalali/Library/Application Support/Firefox/Crash Reports Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: XRE_BINARY_PATH= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: SHELL=/bin/bash Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: MOZ_CRASHREPORTER_STRINGS_OVERRIDE=/Applications/Firefox.app/Contents/Resources/browser/crashreporter-override.ini Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: MOZ_CRASHREPORTER_EVENTS_DIRECTORY=/Users/hamadalali/Library/Application Support/Firefox/Profiles/gddh95i3.default-release-1/crashes/events Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: MOZ_LAUNCHED_CHILD= Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: HOME=/Users/hamadalali Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: TMPDIR=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/T/ Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: XPC_SERVICE_NAME=application.com.apple.installer.1152921500312120240.1152921500312120245 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Env: XPC_FLAGS=0x0 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: MNE-Python 1.7.1_0 Installation Log Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Opened from: /Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Product archive /Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg trustLevel=350 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: External component packages (6) trustLevel=350 Aug 13 10:56:08 MacBook-Air-6 Installer[1008]: Could not load resource readme: (null) Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: ================================================================================ Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: User picked Standard Install Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Choices selected for installation: Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Upgrade: "" Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Upgrade: "Install MNE-Python" Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: MNE-Python-1.7.1_0-macOS_M1.pkg#prepare_installation.pkg : tools.mne.pkg.prepare_installation : 1.7.1_0 Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Upgrade: "Create shortcuts" Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: MNE-Python-1.7.1_0-macOS_M1.pkg#shortcuts.pkg : tools.mne.pkg.shortcuts : 0 Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: MNE-Python-1.7.1_0-macOS_M1.pkg#run_installation.pkg : tools.mne.pkg.run_installation : 0 Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: MNE-Python-1.7.1_0-macOS_M1.pkg#user_post_install.pkg : tools.mne.pkg.user_post_install : 0 Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Install: "Clear the package cache" Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: MNE-Python-1.7.1_0-macOS_M1.pkg#cacheclean.pkg : tools.mne.pkg.cacheclean : 0 Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: ================================================================================ Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: It took 0.00 seconds to summarize the package selections. Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#prepare_installation.pkg Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#shortcuts.pkg Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#run_installation.pkg Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#user_post_install.pkg Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#cacheclean.pkg Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Set authorization level to none for session Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Packages have been authorized for installation. Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Will use PK session Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Using authorization level of none for IFPKInstallElement Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: PackageKit: Bypassing the enforcement checker since the destination is read/write Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Starting installation: Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Configuring volume "Macintosh HD" Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Preparing disk for local booted install. Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Free space on "Macintosh HD": 53.55 GB (53550493696 bytes). Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Create temporary directory "/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/T//Install.1008gGCRlg" Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: IFPKInstallElement (5 packages) Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: Current Path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer Aug 13 10:56:35 MacBook-Air-6 installd[1018]: installd: Starting Aug 13 10:56:35 MacBook-Air-6 installd[1018]: installd: uid=501, euid=501 Aug 13 10:56:35 MacBook-Air-6 installd[1018]: PackageKit: Adding client PKInstallDaemonClient pid=1008, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer) Aug 13 10:56:35 MacBook-Air-6 Installer[1008]: PackageKit: Enqueuing install with framework-specified quality of service (utility) Aug 13 10:56:35 MacBook-Air-6 installd[1018]: PackageKit: Set reponsibility for install to 1008 Aug 13 10:56:35 MacBook-Air-6 installd[1018]: PackageKit: Hosted team responsibility for install set to team:(9779L28NP8) Aug 13 10:56:35 MacBook-Air-6 installd[1018]: PackageKit: ----- Begin install ----- Aug 13 10:56:35 MacBook-Air-6 installd[1018]: PackageKit: request=PKInstallRequest <5 packages, destination=/Users/hamadalali> Aug 13 10:56:35 MacBook-Air-6 installd[1018]: PackageKit: packages=( "PKLeopardPackage <id=tools.mne.pkg.prepare_installation, version=1.7.1_0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#prepare_installation.pkg>", "PKLeopardPackage <id=tools.mne.pkg.shortcuts, version=0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#shortcuts.pkg>", "PKLeopardPackage <id=tools.mne.pkg.run_installation, version=0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#run_installation.pkg>", "PKLeopardPackage <id=tools.mne.pkg.user_post_install, version=0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#user_post_install.pkg>", "PKLeopardPackage <id=tools.mne.pkg.cacheclean, version=0, url=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#cacheclean.pkg>" ) Aug 13 10:56:37 MacBook-Air-6 installd[1018]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#prepare_installation.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/C67BF096-8422-4756-986C-76BFB905A390.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501) Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#shortcuts.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/C67BF096-8422-4756-986C-76BFB905A390.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501) Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#run_installation.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/C67BF096-8422-4756-986C-76BFB905A390.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501) Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#user_post_install.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/C67BF096-8422-4756-986C-76BFB905A390.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501) Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit: Extracting file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#cacheclean.pkg (destination=/var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/C67BF096-8422-4756-986C-76BFB905A390.activeSandbox/Root/Applications/MNE-Python/1.7.1_0, uid=501) Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit: prevent user idle system sleep Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit: suspending backupd Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit (package_script_service): Preparing to execute script "./preinstall" in /private/tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.prepare_installation.cJwVSL Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: PackageKit: Preparing to execute script "preinstall" in /tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.prepare_installation.cJwVSL Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: Set responsibility to pid: 1008, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: Hosted team responsibility for script set to team:(9779L28NP8) Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: PackageKit: Executing script "preinstall" in /tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.prepare_installation.cJwVSL Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: ./preinstall: PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: PackageKit: Hosted team responsible for script has been cleared. Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: Responsibility set back to self. Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit: Using trashcan path /var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/T/PKInstallSandboxTrash/C67BF096-8422-4756-986C-76BFB905A390.sandboxTrash for sandbox /var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/C67BF096-8422-4756-986C-76BFB905A390.activeSandbox Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit: Shoving /var/folders/3y/t_0qfrjn0tq16r8h3wydpc7h0000gn/C/PKInstallSandboxManager/C67BF096-8422-4756-986C-76BFB905A390.activeSandbox/Root (1 items) to /Users/hamadalali Aug 13 10:56:39 MacBook-Air-6 installd[1018]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.prepare_installation.cJwVSL Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.prepare_installation.cJwVSL Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: Set responsibility to pid: 1008, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: Hosted team responsibility for script set to team:(9779L28NP8) Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.prepare_installation.cJwVSL Aug 13 10:56:39 MacBook-Air-6 package_script_service[1019]: ./postinstall: PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python Aug 13 10:56:39 MacBook-Air-6 root[1031]: Preparing packages... Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: PackageKit: Hosted team responsible for script has been cleared. Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: Responsibility set back to self. Aug 13 10:56:58 MacBook-Air-6 installd[1018]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.shortcuts.hBQG1E Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.shortcuts.hBQG1E Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: Set responsibility to pid: 1008, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: Hosted team responsibility for script set to team:(9779L28NP8) Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.shortcuts.hBQG1E Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: ./postinstall: + PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: ./postinstall: ++ cd /Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: ./postinstall: ++ pwd Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: ./postinstall: + PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: ./postinstall: + touch /Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python/pkgs/user_wants_shortcuts Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: PackageKit: Hosted team responsible for script has been cleared. Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: Responsibility set back to self. Aug 13 10:56:58 MacBook-Air-6 installd[1018]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.run_installation.7OG8RV Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.run_installation.7OG8RV Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: Set responsibility to pid: 1008, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: Hosted team responsibility for script set to team:(9779L28NP8) Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.mhS2Sk/Scripts/tools.mne.pkg.run_installation.7OG8RV Aug 13 10:56:58 MacBook-Air-6 package_script_service[1019]: ./postinstall: PREFIX=/Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python Aug 13 10:56:58 MacBook-Air-6 root[1049]: Installing packages. This might take a few minutes. Aug 13 10:57:03 MacBook-Air-6 package_script_service[1019]: ./postinstall: Downloading and Extracting Packages: ...working... done Aug 13 10:57:03 MacBook-Air-6 package_script_service[1019]: ./postinstall: Downloading and Extracting Packages: ...working... done Aug 13 10:57:06 MacBook-Air-6 package_script_service[1019]: ./postinstall: Preparing transaction: ...working... done Aug 13 10:58:28 MacBook-Air-6 package_script_service[1019]: ./postinstall: Executing transaction: ...working... WARNING conda.core.envs_manager:register_env(67): Unable to register environment. Path not writable or missing. Aug 13 10:58:28 MacBook-Air-6 package_script_service[1019]: ./postinstall: environment location: /Users/hamadalali/Applications/MNE-Python/1.7.1_0/.mne-python Aug 13 10:58:28 MacBook-Air-6 package_script_service[1019]: ./postinstall: registry file: /Users/hamadalali/.conda/environments.txt Aug 13 10:58:28 MacBook-Air-6 package_script_service[1019]: ./postinstall: done Aug 13 10:58:35 MacBook-Air-6 package_script_service[1019]: ./postinstall: Python 3.12.2 Aug 13 10:59:01 MacBook-Air-6 package_script_service[1019]: ./postinstall: chown: /Users/hamadalali/.conda/environments.txt: Operation not permitted Aug 13 10:59:01 MacBook-Air-6 package_script_service[1019]: PackageKit: Hosted team responsible for script has been cleared. Aug 13 10:59:01 MacBook-Air-6 package_script_service[1019]: Responsibility set back to self. Aug 13 10:59:01 MacBook-Air-6 installd[1018]: PackageKit: releasing backupd Aug 13 10:59:01 MacBook-Air-6 installd[1018]: PackageKit: allow user idle system sleep Aug 13 10:59:01 MacBook-Air-6 installd[1018]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MNE-Python-1.7.1_0-macOS_M1.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#run_installation.pkg, PKInstallPackageIdentifier=tools.mne.pkg.run_installation, NSLocalizedDescription=An error occurred while running scripts from the package “MNE-Python-1.7.1_0-macOS_M1.pkg”.} { NSFilePath = "./postinstall"; NSLocalizedDescription = "An error occurred while running scripts from the package \U201cMNE-Python-1.7.1_0-macOS_M1.pkg\U201d."; NSURL = "file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#run_installation.pkg"; PKInstallPackageIdentifier = "tools.mne.pkg.run_installation"; } Aug 13 10:59:01 MacBook-Air-6 installd[1018]: PackageKit: Cleared responsibility for install from 1008. Aug 13 10:59:01 MacBook-Air-6 installd[1018]: PackageKit: Cleared permissions on Installer.app Aug 13 10:59:01 MacBook-Air-6 installd[1018]: PackageKit: Hosted team responsible for install has been cleared. Aug 13 10:59:01 MacBook-Air-6 Installer[1008]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MNE-Python-1.7.1_0-macOS_M1.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/hamadalali/Downloads/MNE-Python-1.7.1_0-macOS_M1.pkg#run_installation.pkg, PKInstallPackageIdentifier=tools.mne.pkg.run_installation, NSLocalizedDescription=An error occurred while running scripts from the package “MNE-Python-1.7.1_0-macOS_M1.pkg”.} Aug 13 10:59:01 MacBook-Air-6 installd[1018]: PackageKit: Removing client PKInstallDaemonClient pid=1008, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer) Aug 13 10:59:01 MacBook-Air-6 Installer[1008]: PackageKit: Bypassing the enforcement checker since the destination is read/write Aug 13 10:59:01 MacBook-Air-6 Installer[1008]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. Aug 13 10:59:01 MacBook-Air-6 Installer[1008]: IFDInstallController 1F0D0BE0 state = 8 Aug 13 10:59:01 MacBook-Air-6 Installer[1008]: Displaying 'Install Failed' UI. Aug 13 10:59:01 MacBook-Air-6 Installer[1008]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

Could you please check if you have write permissions to /Users/hamadalali/.conda/environments.txt? Something seems to be going wrong when the installer tries to touch this file.

When I put this path in Terminal it tells me permission denied.