Category "macos"

Pytesseract - OCR on image with colored text

im trying to use Pytesseract to get some text in an image. However, the text is an orange color and the background has both black and white. I have tried severa

NSOpenPanel, NSSavePanel runModal dismisses immediately with cancel, but only on M1 running 11.4

I have one user who reports that the Open and Save panels have been "auto dismissing". ie the Open Panel dialog appears then immediately dismisses itself, takin

Generic requirements.txt for TensorFlow on both Apple M1 and other devices

I have a new MacBook with the Apple M1 chipset. To install tensorflow, I follow the instructions here, i.e., installing tensorflow-metal and tensorflow-macos in

Python keyboard module non-functional with python 3.x and macOS?

So I'm trying to write a macro to automate a few tedious actions on my mac. I've been attempting to use the keyboard module for python (so that I can hook into

macOS - How to install Java 17

Could someone please let me know the steps to install Java on a Mac. I did brew install java I get this Warning: openjdk 17.0.1 is already installed and up-to-d

VSCode does not use conda environment when starting from the terminal

I'm using Visual Studio Code (VSCode) to do some Python programming on a Mac. I use conda for my Python environments. When I open a folder from within VSCode (u

React Js docker image building error with ERROR [linux/arm64 5/7] RUN npm install --silent. Running on Mac M1

I am creating a React Js docker image to run on multiple architecture when i run the command I get an error. I tried a lot but not successful. I am using Mac M1

Docker command not found when running on Mac

I'm trying to run the below code as instructed in the docker-graphite-statsd: docker run -d\ --name graphite\ --restart=always\ -p 80:80\ -p 2003-2004:2003-

How to hide/disable 'My Mac (Designed for iPad)' Build Target - Xcode 13

Recently I moved to using an M1 Mac Mini as a build machine for Unity IOS projects through Xcode. Often I would use the Unity option to 'Build and Run' which wo

MacOS Metal: Failing to capture GPU Frame from command line app

I'm trying to programmatically capture GPU frames using MTLCaptureManager in a command line application. So far, the capture manager fails to support the MTLCap

How to resolve Python mysqlclient install error on Mac

I’m trying to install Python interface to MySQL (mysqlclient 2.1.0) for use with Django project (to be developed in MS Code) on my MacBook with M1 chip. W

Error when implement an nodemcu 8266 with DHT22

I implemented a nodemcu 8266 as a api rest server with a temperature sensor (DHT22) in a Mac with macOS Monterey, when I read the temperature and humidity in a

Go 1.18 build error on Mac: "unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable"

I upgraded to Go 1.18 on Mac 12+. 'go build' fails with errors like: # golang.org/x/sys/unix ../../gopath/pkg/mod/golang.org/x/[email protected]

MySQL under XAMPP won't start on MacOS - throwing "no such process"

I'm on MacOS (Catalina right now) but the issue has been there for the last couple of years. XAMPP works great and then all of sudden I can't start MySQL. Only

Errors when running spark-submit on a local machine with Apache Spark (stand alone, single node)

I've installed apache spark on my mac with 16 GB of RAM to test my pyspark code locally with small data sets before I test it on a real cluster. I've installed

How to get the window title of a process in C# on Linux/macOS?

By default, GUI windows in Windows, Linux and macOS will show the title of the window on top of them and that is what I want to read programmatically with .NET

How to install mCrypt extension for php in macOs xampp

I am new to macOs and i have a project in which it has many extensions needed all are working fine only mCrypt is off. can anyone suggest me that how to turn it

'FirebaseCore/FirebaseCore.h' file not found while building for Release Mode in Xcode Version 11.5 (11E608c)

I am able to run the app in Debug mode in XCODE and simulator without any errors. But when I build for Release Mode the build fails with below 2 errors: 'Fireb

While loop with NSFileManager directory enumerator not running

I am seeking help to understand why a tutorial I am following is not working for me. I am running macOS 12.3.1, Xcode 13.3.1. The project is in Objective-C and

While loop with NSFileManager directory enumerator not running

I am seeking help to understand why a tutorial I am following is not working for me. I am running macOS 12.3.1, Xcode 13.3.1. The project is in Objective-C and