Questions tagged [macos-monterey]

Released in 2021, macOS Monterey (version 12.4) is the eighteenth major release of Apple's operating system for Macintosh computers. Use this tag for questions relating to macOS APIs that are specific to this version, and also tag your question with [macos]. DO NOT use this tag simply because you are running code on this operating system.

This is a tag for a specific version of macOS. See for details.

475 questions
2
votes
0 answers

PyQT5 GUI not working under MacOS Monterey

I have recently switched to MacBook with M1 processor and macOS Monterey, and my application in PyQT5 stopped displaying images. All other features seems to work. I had the same problem on previous Mac after upgrading to Big Sur. In that case…
Wojtek
  • 21
  • 3
2
votes
2 answers

No such file or directory: '/opt/anaconda3/lib/python3.8/site-packages/rtree/lib'

I am trying to build an app from a python file (Mac OS) using the py2app extension. I have a folder with the python file and the "setup.py" file. I first tested the app by running python setup.py py2app -A in the terminal and the dist and build…
ks08
  • 84
  • 1
  • 9
2
votes
1 answer

No access to web or mysql on vagrant after upgrading to macos monterey

Last week I decided to upgrade the mac to the latest version Monterey. Well. Most things works, except for Vagrant. Well.. it works, except there is almost no connection to the server. vagrant ssh works. I have been able to launch virtualbox, but…
Trond
  • 363
  • 1
  • 4
  • 14
2
votes
0 answers

Jupyter Kernel dying on macOS due to Tensorflow

I am having trouble with a Jupyter script that I am using for a class at university. Useful information: I am using a MacBook Air (first time), macOS Monterey 12.0.1, M1 Apple chip, and I am working in a conda virtual environment with conda 4.11.0…
2
votes
1 answer

How do I cleanly delete elements from a Sidebar List in SwiftUI on macOS

I would like to give users the option to delete List elements from a SwiftUI app's sidebar in macOS. Here's what I currently have: import Foundation import SwiftUI @main struct FoobarApp: App { @StateObject private var modelData =…
sobutterysosmooth
  • 775
  • 1
  • 8
  • 11
2
votes
1 answer

upgrading OSX from 12.1 to 12.2.1 broke my development environment

I'm seeing all kinds of errors and warnings when compiling software after a minor OSX upgrade from 12.1 to 12.2.1. In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_map:411: In file included from…
Sonny Parlin
  • 931
  • 2
  • 13
  • 28
2
votes
1 answer

Cannot debug executable with lldb on macOS M1: attach failed ((os/kern) invalid argument

I am trying to debug a C executable compiled for arm64 on an Apple M1 MacBook Pro, running macOS Monterey. However, when I try to run the program in lldb, I receive the following error: (lldb) run error: process exited with status -1 (attach failed…
Daniel Jones
  • 615
  • 5
  • 17
2
votes
0 answers

MasOS Monterey: Unable to switch PHP versions using brew

I upgraded my OS to Monterey and meanwhile I installed multiple versions using brew. Basically I followed this post: https://getgrav.org/blog/macos-monterey-apache-multiple-php-versions I am not getting any error while I do switch but in the end…
Don99
  • 21
  • 2
2
votes
2 answers

Detecting application becoming going to the background and coming back to the foreground

I have a macOS app that needs to do some cleanups when the app looses focus (goes to the background), and some reloading of stuff when the it gains focus again (the app is now back in the foreground). I have tried this code, both on the views and on…
Aleph
  • 465
  • 2
  • 12
2
votes
2 answers

SwiftUI: double-click in Table row on macOS

I am using a Table with multiple columns (new in SwiftUI 3.0) to show my data, and I want to be able to double-click on the row to open a new window with another view (with information passed in through the row that was double-clicked). What's the…
Z S
  • 7,039
  • 12
  • 53
  • 105
2
votes
1 answer

Error install binwrap with yarn on Mac OS Monterey with M1 chip

I am facing this issue while installing binwrap with yarn. Please, find the log below: error /Users/.../client/node_modules/elmi-to-json: Command failed. Exit code: 1 Command: binwrap-install Arguments: Directory:…
A. KUMAR
  • 330
  • 1
  • 9
2
votes
1 answer

Docker desktop macOS running Ubuntu 20 and hitting operation not permitted with bpf

Setup details: macoS 12.1, docker desktop: 4.3.2 Linux nsipsecinst-0 5.10.76-linuxkit #1 SMP Mon Nov 8 10:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Form within container lsb_release -a No LSB modules are available. Distributor ID:…
vtewari
  • 23
  • 4
2
votes
1 answer

Cannot run python after update macOS to Monterey

The terminal shows these errors after I updated my MacBook and run a python program. How can I fix it? dyld[4136]: dyld cache '/System/Library/dyld/dyld_shared_cache_x86_64h' not loaded: syscall to map cache into shared region failed dyld[4136]:…
Lemon
  • 21
  • 2
2
votes
2 answers

Python3 and 'code' CLI not working after updating to MacOS Monterey

I updated to MacOS Monterey and now python is not working: ➜ ~ python3 --version dyld[6578]: dyld cache '/System/Library/dyld/dyld_shared_cache_x86_64h' not loaded: syscall to map cache into shared region failed dyld[6578]: Library not loaded:…
Raj
  • 1,928
  • 3
  • 29
  • 53
2
votes
0 answers

Oracle instantclient Unable to load dynamic library 'oci8.so' MacOS Monterey M1

I have issues installing instantclient locally for php 7.4 For installing instanclient, i follow this instruction: cd ~/Downloads curl -O…