Category "macos"

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

MacOS swift: having trouble in obtaining output data from Pipe()

I am trying to run command lines to take screenshots in my Xcode project and using Pipe() to log output data. When I build and run this project in Xcode, I can

ModuleNotFoundError: No module named 'yfinance' - Importing Yahoo finance & Financials to Python

I'm using Mac OS and receiving an error when doing the following: import pandas as pd import yfinance as yf from yahoofinancials import YahooFinancials Module

PHP - installing Xdebug on Mac with XAMPP (Unix File)

I have a trouble installing Xdebug on my PHP project. I am on macOS Monterey M1 and I am using XAMPP for launching project on PHP version 7.4.28. I followed the

Get homebrew to run a script after 'brew install x' or 'brew uninstall x'

I want to automate having a file that tracks all my installed brew packages. I can do this manually with brew list > somefile, how ever I want this process t

Having trouble switching python versions using pyenv global command

I have installed pyenv on Mac using homebrew and downloaded the version of Python 3.7.9. Everything works except when I use pyenv global 3.7.9, python3 -V still

Having trouble switching python versions using pyenv global command

I have installed pyenv on Mac using homebrew and downloaded the version of Python 3.7.9. Everything works except when I use pyenv global 3.7.9, python3 -V still

zsh: command not found on MacOS Monterey

I wanted to create a react project and when I executed the command it said zsh: command not found: npx Then I tried the ls command and it said zsh: command not

env: python3.9: No such file or directory

I have some python code formatters as git pre-commit hook and I have changed my python version as brew list | grep python python@3.7 python@3.9 brew unlink pyt

Exec, ExecSync, Spawn, SpawnSync fails in production on multiple MAC machines

Solved -- Official Electron bug solved in 17.0.2 I'm trying to write a cross-platform app that utilizes child processes to execute commands. I ran into a proble

ModuleNotFoundError: No module named '_tkinter' on macOS

Tkinter doesn't work, it throws an error. Installation % pip3 install tk My code #!/usr/bin/env python3 import tkinter as tk The Error Traceback (most recent

Automate clear browsing data Safari

Is there any way to automate clearing cache, cookies and history in Safari? I can run Swift, Python, JavaScript and AppleScript. This is the AppleScript I have

iOS 13.4 simulator Capture Cursor issue

Xcode 11.4 brought with it a totally new and powerful simulator with a separate toolbar, and this toolbar contains a few buttons and the first one is called Cap

macOS SwiftUI Navigation for a Single View

I'm attempting to create a settings view for my macOS SwiftUI status bar app. My implementation so far has been using a NavigationView, and NavigationLink, but