MacOS
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
- pip install pyobc
- in the nsss.py file add
import objc
- 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”