MacOS

Anudha Mittal
Jun 18, 2024

--

https://www.macports.org/

Python and MacOs

Drivers: In this case for speech, sound.

import pyttsx3

engine = pyttsx3.init()

engine.say(“ Wild flowers of the desert ”)

engine.runAndWait()

steps to making it work

  1. pip install pyobc
  2. in the nsss.py file add

import objc

  1. also in the nsss.py file make the following change

#self = super(NSSpeechDriver, self).init()

self = objc.super(NSSpeechDriver, self).init()

GPU access

mps instead of cuda

Temperature in Mac OS

from https://github.com/narugit/smctemp/tree/main

smctemp -c

47.2

Couldn’t use anything already avail as a terminal tool. Just had a qualitative measurement for “thermal pressure”

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response