No tray icon on mac m4
Author: niwardgCreated Aug 19, 2026Updated Aug 19, 2026
I changed python to my local version by following in xx-net/start:
elif [ $os_name = 'Darwin' ]; then PYTHON3="/Users/username/.pyenv/shims/python3"
And then it works well except xx-net tray icon disappeared. The log shows the following warning message: [WARNING] import mac_tray except:AttributeError('objc'), Please try run 'sudo pip3 install -U PyObjC Pillow' by yourself.
I have installed PyObjC and Pillow. But it does not work. By the way, my mac is M4.
Please let me know how to solve it. Thanks.
Source: XX-net/XX-Net