Have got weewx running on M1 mac with python 3.8.2, but a few issues.
Needed to install libjpeg and freetype from source to get a working PIL. This seems to need to be done under the rosetta version of the terminal.
When I start using:
cd /Users/Shared/weewx
python3 ./bin/weewxd weewx.conf
It starts fine and runs as expected. In both the console and weewx debug it runs as x86
If I start using:
sudo launchctl load /Library/LaunchDaemons/com.weewx.weewxd.plist
It runs as ARM64 on the console, but is listed as x86 in the debugger output. It has all sorts of problems not being able to mostly find things related to the PIL install.
I've also tried to get the PIL to install using the native terminal, but I get
/Library/Python/3.8/site-packages/PIL/_imaging.cpython-38-darwin.so: mach-o, but wrong architecture
When I use "import Image from PIL"
Image imports fine when using the rosetta version of the terminal.
Any ideas on either getting a working ARM64 PIL or getting the startup script to run x86?