bernhard-42 / vscode-ocp-cad-viewer

A viewer for OCP based Code-CAD (CadQuery, build123d) integrated into VS Code
Apache License 2.0
76 stars 9 forks source link

Update readme with instructions that don't require mamba for macOS ARM / Apple Silicon #84

Open infused-kim opened 3 weeks ago

infused-kim commented 3 weeks ago

Previously, on Apple Silicon macs the cadquery-ocp package was not installable through pip and required mamba. But now there is a wheel release on github that can be installed with pip, which means you don't need mamba anymore.

Having to use mamba was a big annoyance and deterence for me and probably others.

Visit ocp-build-system/releases and copy the URL of the macosx_11_0_arm64.whl for your python version.

python3 --version

pip install https://github.com/CadQuery/ocp-build-system/releases/download/7.7.2.0/cadquery_ocp-7.7.2-cp39-cp39-macosx_11_0_arm64.whl

pip install build123d

For more info, you can check out the following issues:

jdegenstein commented 3 weeks ago

I personally think it is better to wait for the Cadquery-OCP wheels to be on PyPI. With the approach you suggested it would require the user to pick the correct URL of the correct wheel that matches python / OS / CPU-type.

Since you are obviously aware of the workaround, then feel free to use it but IMHO this does not necessarily improve the ease-of-use for new MacOS+arm64 users.