Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Side: Update backend to Python 3.11 and add Universal 2 support #1099

Merged
merged 2 commits into from
Sep 17, 2023

Conversation

khronokernel
Copy link
Member

For users compiling OpenCore Legacy Patcher manually, ensure you install the universal2 variant of charset-normalizer. pip3 may select the Intel-only slice if installing automatically.


If local build errors on the following:

PyInstaller.utils.osx.IncompatibleBinaryArchError: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/charset_normalizer/md__mypyc.cpython-311-darwin.so is not a fat binary!

Uninstall charset-normalizer, then manually install the universal2 wheel:

pip3 uninstall charset-normalizer
pip3 install https://files.pythonhosted.org/packages/8e/a2/77cf1f042a4697822070fd5f3f5f58fd0e3ee798d040e3863eac43e3a2e5/charset_normalizer-3.2.0-cp311-cp311-macosx_10_9_universal2.whl

Ensure to adjust the whl link to the latest version available at PyPI:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant