Questions tagged [macos-big-sur]
The sixteenth release of Apple's desktop operating system for Macintosh computers. Use this tag only if your question relates to using macOS Big Sur specific behavior. Questions relating to using or troubleshooting macOS are off-topic.
1,009
questions
0
votes
1
answer
141
views
how to install gpu accelerated-gpu version pytorch on mac OS (M1)?
I 've successfully installed cpu version, shown as below,
I am using macOS 11.4, shown as below:
I read from pytorch website, saying it is supported on masOS 12.3 or later version, shown as below:
...
0
votes
1
answer
235
views
Can't compile a simple c++ file with g++ on MacOS 13, XCode 14
I'm on a new M2 Mac Mini. I have this simple test c++ file:
% cat conftest.cpp
#include <limits>
#include <cmath>
#include <algorithm>
int main(int argc, char **argv) { return 0;}
...
0
votes
0
answers
99
views
MySQLWorkbench crashes on macOS Big Sur 13.0.1 - Help Needed
I am a beginner in SQL and have been encountering an issue while running databases with MySQLWorkbench. The application crashes every time I try to launch it on my Mac, which has macOS Big Sur 13.0.1 (...
0
votes
0
answers
13
views
Maven Release plugin not working properly in Windows 10 but works fine on Macbook Pro
I have been happily using the mvn release:prepare command on my Macbook pro for some time and really like it. Unfortunately, due to circumstances, I need the projects to be maintained on a Windows 10 ...
0
votes
0
answers
101
views
Can't connect to http://localhost:3000 on Safari browser
I can't connect to http://localhost:3000 on Safari browser. Could anyone help?
Summary
URL: https://localhost:3000/static/js/bundle.js
Status: —
Source: —
Initiator:
localhost:28
0
votes
0
answers
39
views
Elevating to root on MacOS to root with C
So I have a very simple code snippet, which simply checks if the process is running as root:
int main()
{
if(getegid() == 80 || setegid(80) == 0){
printf("We are root\n");
}...
0
votes
0
answers
91
views
Connecting to MSSQLServer 2019 on Windows11 from Apple macOS BigSur using VS for Mac 2022 v17.4
I have an apple desktop computer with Visual Studio for Mac 2022 version 17.4 and wanted to connect to a MS SQL Server database on a windows 11 computer. However, I am able to connect to the windows ...
0
votes
0
answers
19
views
Following an update of Hombrew, the reinstallation of postgresql, I can no longer create a database
I updated the Homebrew version and uninstalled and reinstalled postgresql because I had the following problem after the Homebrew update.
Now when I try to create a database I get this error.
Does ...
-1
votes
1
answer
29
views
Updating xcode after upgrading MacOs operating system
I have just upgraded my MacOs operating system on one of my older machines from El Capitan to Big Sur. I subsequently tried to open xcode but I get the error:
In order to use “Xcode”, you need to ...
1
vote
0
answers
193
views
How do I configure permissions for rsync on macOS to avoid sandbox errors
I'm getting errors running rsync between two Macs: the client is Big Sur with Homebrew rsync (the stock rsync has the same behaviour) and the remote machine is running Monterey. I'm getting errors ...
-1
votes
1
answer
25
views
macos Big Sur matplotlib chart displaying extra data, while Windows, Linux Mint working properly
Pls help, I'm desperate and behind schedule , I've tried to solve this over 1 week for a solution but nothing!
I have been working on a relatively simple cross platform python app. This app works ...
0
votes
0
answers
46
views
numpy C-API extension fails to compile in separated file
Currently writing a C extension for Python,
I successfully compiled and use the numpy C-API within the main/loader file of the module extension.
I am now trying to move the logic into a different C ...
0
votes
0
answers
55
views
Hammerspoon fails to run Javascript that runs fine in Script Editor
I'm trying to get today's events from Calendar.app in Hammerspoon.
I have the following Javascript, that works well in the Script Editor:
But, if I paste this in a call to hs.osascript.javascript(), ...
1
vote
1
answer
436
views
Postgres not allowing `127.0.0.1` but works with `localhost`
Postgres is ran in a container, using postgres:14.1-alpine image.
When ran A) with --network host, then
PGPASSWORD=postgres psql -d db -U postgres -h localhost # works
PGPASSWORD=postgres psql -d db ...
0
votes
1
answer
64
views
Which com.apple preference file needs to be deleted to access display system preferences?
MacOSBigSur, M1 chip, late 2020 MBP 13"
Was connected to an external monitor via HDMI when this occurred...
Was simply changing the desktop background and now there is no background image (on the ...
2
votes
0
answers
43
views
How to test macOS app in multiple version of macOS
My app supports macOS 11.0+ and future version of macOS, but currently the version of my macOS is 12.0+, and the version of my Xcode is 13.0+. However, I want to test my app's performance and some in ...
-1
votes
2
answers
74
views
On a mac Big Sur v 11.6, the terminal won't let me run anything with Python
I just installed python 3.10 and I followed a tutorial that told me to create an alias so that the pre-installed 2.7.6 won't run. I tried to use
nano ~/.bash_profile
and add
alias python="...
1
vote
0
answers
632
views
mysql 5.7 in Mac won't start - error doesn't give a clue
I've tried installing mysql version 5.7 in my mac. (11.5.1 Big Sur). Installed it using brew and installation seemed successful but when I start it, nothing happens. It doesn't appear on the brew ...
-1
votes
1
answer
182
views
Cannot load localhost after update to BigSur (apache might be running)
I upgraded my laptop to mac OS bigsur, it is not at all smooth.
Last thing I found it broke is that I cannot access to localhost anymore:
I searched for a solution but could not find anything but ...
0
votes
1
answer
344
views
Move files from one directory to another based on file names in csv using macOS Terminal
I am trying to move thousands of files from one directory to another based on the file names that are in a CSV document (one column with just the names).
CSV:
filename1
filename2
filename3
Folder
...
2
votes
1
answer
231
views
Making SwiftUI app Scriptable with AppleScript and Javascript JXA
Please note I have carefully followed How to implement AppleScript support in a Swift MacOS app - however this is not working for me. I assume it's out of date.
After following a variety of ...
0
votes
0
answers
85
views
Unsuccessful install usb_modeswitch on MacOS Big sur
is there anyone knows a right method of install usb_modeswitch by draisberghof.de to macOS big sur. I've tried to install it but it shows this warnings and errors, please see picture below for ...
0
votes
0
answers
125
views
How set large Toolbar icons in macOS when using `WindowToolbarStyle.unifiedCompact` style
With macOS BurSur comes the introduction of the WindowToolbarStyle.unified and WindowToolbarStyle.compactUnified window style. In my app I want to use the compact style, however when I do this the ...
1
vote
1
answer
2k
views
Python: socket.gaierror: [Errno 8] When Attempting To Get IP Address in MacOS Big Sur
I just upgraded my MacBook to macOS Big Sur. Previously on macOS Mojave, the following code still running and outputs the IP Address of the Macbook. But after I upgraded, it just shows up the Errno 8 ...
0
votes
0
answers
58
views
How to change/remove the name of app on the Mac's Application Menu bar?
Does anyone know how to tweak the name of each app on Mac's top menu bar?
I just want to make it disappear time or change its name to something else sometimes, but have no idea how to tweak it.
I have ...
1
vote
1
answer
234
views
sudo asks for a password instead of getting it from stdin
I have a script running in an open terminal window:
while sleep 345600; \
do pass="$(security find-generic-password -w -s 'service' -a 'account')"; \
sudo --stdin <<< "${...
1
vote
1
answer
245
views
iTerm2 now starts up listing profile configuration
Recently, when I load iTerm2 on my mac, it lists out the configuration of my profile (or possibly its something different).
This is what I see:
Last login: Tue Jun 21 19:54:38 on ttys000COLORFGBG='15;...
0
votes
0
answers
22
views
g++ Linker command fails when trying to compile with openssl function is used [duplicate]
I'm trying to use the OpenSSL EVP.h in a C++ file. Each time I try to compile, however, I get an error about linking, for example:
ld: can't map file, errno=22 file '/usr/local/opt/openssl@3/lib/' for ...
4
votes
2
answers
2k
views
module 'virtualenv.create.via_global_ref.builtin.cpython.mac_os' has no attribute 'CPython2macOsArmFramework
I am trying to install python packages to a venv using poetry - on BigSur macos.
I have pyenv on stable python.
pyenv which python
/Users/josh/.pyenv/versions/3.8.6/bin/python
When I exec.
poetry ...
0
votes
0
answers
125
views
Unable to import numpy on Spyder
I'm using Python 3.10.2 through Spyder on macOS Bigsur (M1). I have installed numpy 1.22.4 and able to import it through the terminal but not through Spyder.
Below is the error I get on Spyder when I ...
0
votes
2
answers
3k
views
FATAL: could not open directory "pg_notify": No such file or directory
I am struggling to troubleshoot the startup error for postgres on mac Big Sur.
The symlink exits for LaunchAgents as homebrew.mxcl.postgresql.plist
But when I run
postgres -D /usr/local/var/postgres
...
0
votes
3
answers
938
views
QEMU on macOS big sur: connect to guest from the host without port forwarding
I'm having a hard time finding a solution to access my Linux guest system running on QEMU from my macOS Big Sur host.
The only solution I've found that works is port forwarding (using e.g. -net user,...
1
vote
0
answers
119
views
How to use launchctl for .ovpn file execution and dns
I am running BigSur OS.
Recently I was given an OpenVPN file to run a VPN.
When I execute this in the terminal I get
➜ vpn sudo openvpn --config ./bpu-vpn.ovpn
Options error: --up script fails with '/...
0
votes
1
answer
72
views
SVG elements font-size change specifically on MacBook Firefox
This is weird because I have another Mac desktop, and firefox (same version I guess) and there is no problem. Only on my MacBook.
On my web-game, I have 4 buttons:
"Play" : "Cars" :...
0
votes
1
answer
341
views
PyUsb: "insufficient permissions". macOS Big Sur
I'm following this tutorial for pyusb but when I get this far into the code, I get the error: raise USBError(_strerror(ret), ret, _libusb_errno[ret]) usb.core.USBError: [Errno 13] Access denied (...
1
vote
2
answers
219
views
With Selenium on CentOS 7, getting a MoveTargetOutOfBoundsException on my CentOS 7, which doesn't occur when the script is run on Mac OS Big Sur
I'm using Python 3.9 with the latest Selenium and have this code, which runs fine on my Mac, Chrome driver 101 headless instance of my script ...
element = self.driver.find_element(By.CSS_SELECTOR, &...
0
votes
0
answers
7
views
Electron-reload switching focus from VSCode to Electron app instance
Problem: When electron-reload detects changes, it correctly refreshes the webcontents of a BrowserWindow but it annoyingly switches focus from VSCode to the Electron app instance. This means I can no ...
0
votes
0
answers
136
views
R studio wont start after reinstalling on mac. Big Sur M1 Chip
R Session Startup Failure Report
RStudio Version
RStudio 2022.02.2+485, "Prairie Trillium" (8acbd38b, 2022-04-19) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 12_3_1) AppleWebKit/537.36 (...
0
votes
0
answers
28
views
Why is Java Robot Keypres function not working for Big Sur?
I am using MacBook Pro M1 Big Sur. I am using Eclipse to make a java program that can type the letter "A".
My program is
package code;
import java.awt.Robot;
import java.awt.event.KeyEvent;
...
0
votes
1
answer
1k
views
How to use Wireshark to capture traffic coming from VMWare
I have installed Seagull to create client traffic simulation of diameter base protocol. I installed it on VMWare running Fedora Server since I found difficulty during my installation on my MacOS ...
1
vote
1
answer
87
views
PyQt5 on macOS no space after comma and period in text displayed in a widget
I have a weird issue that seems to happen on macOS (I have Big Sur 11.6.4), but not on Windows 10. Basically, in the text displayed in a QWidget with PyQt5 the spaces after commas and periods are not ...
0
votes
1
answer
777
views
How to find the path for iCloud folder on MacOS Big Sur
I am trying to find the path for iCloud folder, some people suggested ~/Library/Mobile\ Documents/com~apple~CloudDocs/ but I couldn't find that directory.
0
votes
0
answers
34
views
How to add Java access for Photos under Big Sur OS system preference?
In Catalina OS under System Preferences -> Security & Privacy -> Photos has access for Java. But in BigSur OS java has no access to Java. As of now in BigSur OS only the terminal has access ...
0
votes
2
answers
61
views
How to properly pass filenames with spaces with $* from xargs to sed via sh?
Disclaimer: this happens on macOS (Big Sur); more info about the context below.
I have to write (almost did) a script which will replace images URLs in big text (xml) files by their Base64-encoded ...
1
vote
0
answers
148
views
Error CS0116 occurring on macOS Big Sur but not Windows 11 in Visual Studio Community 2022
I'm working on a school project with one of my classmates. I'm on windows 11 and they're using macOS Big Sur. Everything works on my laptop and desktop that are both running windows. However, as soon ...
2
votes
1
answer
357
views
Correct Pip location on MacOS
I removed all non default MacOs python installations but still there are multiple pip versions in /usr/local/bin/ folder. Is this correct or broken state?
% which pip
/usr/local/bin/pip
% which pip3
...
0
votes
0
answers
96
views
Error : .onLoad failed in loadNamespace() for 'utils', details: call: switch(os, Linux = if (file.exists("/etc/os-release"))
I am struggling to have my R started on my new mac from work (usually, I work on linux). In macOS bigSur 11.4, I have download xquartz and then install R 4.1.3
all good except this
Copyright (C) 2022 ...
0
votes
0
answers
199
views
how to use x264enc and avdec_h264?
I'm new for gstreamer. I want to encode the video of my MacbookPro. built-in cam to h264 and then play. in command line, I tried "
gst-launch-1.0 autovideosrc ! queue ! x264enc ! avdec_h264 ! ...
0
votes
0
answers
163
views
lxml.etree not found on macOS BigSur v11.5.1
I'm trying to use lxml.etree on Python 3.9.5 and I get the below error:
import lxml.etree as ET
Traceback (most recent call last):
File "/var/folders/4r/nslf5xyd54ldnyz40qhqh9z80000gn/T/...
0
votes
0
answers
71
views
how to use gst_video_overlay_set_window_handle in macOs?
I need to use gst_video_overlay_set_window_handle in macOs(Big Sur 11.6)
but the video not played at all. if I comment the gst_video_overlay_set_window_handle out, the video window can popped out.but ...