Python not working, /usr/lib/libexpat.1.dylib missing (macOS: 26.2-arm64) #6798
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
You will need to upgrade to macOS 26.3 or later due to Apple upgrading their copy of expat. |
Beta Was this translation helpful? Give feedback.
-
|
My Mac got bricked upgrading to 26.4 with a bad firmware update, so I'm waiting a bit When trying to run aws-cli I get My short term hack brew install expat
brew reinstall python@3.14
aws help # FAILS
DYLD_LIBRARY_PATH="/opt/homebrew/opt/expat/lib" aws help # WORKS |
Beta Was this translation helpful? Give feedback.
-
|
Hitting the same error on macOS 26.2 (25C56) / Apple Silicon with The brew install expat
install_name_tool -change /usr/lib/libexpat.1.dylib \
"$(brew --prefix expat)/lib/libexpat.1.dylib" \
/opt/homebrew/Cellar/python@3.14/3.14.5/Frameworks/Python.framework/Versions/3.14/lib/python3.14/lib-dynload/pyexpat.cpython-314-darwin.so
codesign --sign - --force \
/opt/homebrew/Cellar/python@3.14/3.14.5/Frameworks/Python.framework/Versions/3.14/lib/python3.14/lib-dynload/pyexpat.cpython-314-darwin.soPosting as another data point that the issue keeps biting 26.0–26.2 users who can't (yet) upgrade past 26.2. Would it be possible to either weak-link the new |
Beta Was this translation helpful? Give feedback.
You will need to upgrade to macOS 26.3 or later due to Apple upgrading their copy of expat.