From eab54d054f1da58023ffa3af42074b01782f7bc7 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Fri, 22 Nov 2024 15:33:57 -0600 Subject: [PATCH 1/2] README.md -> don't mention Apple Silicon --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b8e7be4..1bf49952 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,4 @@ cd build123d python3 -m pip install -e . ``` -Further installation instructions are available (e.g. Poetry, Apple Silicon) see the [installation section on readthedocs](https://build123d.readthedocs.io/en/latest/installation.html). +Further installation instructions are available (e.g. Poetry) see the [installation section on readthedocs](https://build123d.readthedocs.io/en/latest/installation.html). From dba9831ae39c72dffe465bdfb68f101f2dde336d Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Fri, 22 Nov 2024 15:37:13 -0600 Subject: [PATCH 2/2] installation.rst -> remove entire obsolete Apple Silicon workaround section --- docs/installation.rst | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 3a54c1df..c794857d 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -2,7 +2,7 @@ Installation ############ -The recommended method for most users is to install **build123d** is: +The recommended method for most users to install **build123d** is: .. doctest:: @@ -110,35 +110,6 @@ Which should return something similar to: ├── Face at 0x165e88218f0, Center(0.5, 1.0, 0.0) └── Face at 0x165eb21ee70, Center(0.5, 1.0, 3.0) -Special notes on Apple Silicon installs ----------------------------------------------- - -Due to some dependencies not being available via pip, there is a bit of a hacky work around for Apple Silicon installs (M1 or M2 ARM64 architecture machines - if you aren't sure, try `uname -p` in a terminal and see if it returns arm). Specifically the cadquery-ocp dependency fails to resolve at install time. The error looks something like this: - -.. doctest:: - - └[~]> python3 -m pip install build123d - Collecting build123d - ... - INFO: pip is looking at multiple versions of build123d to determine which version is compatible with other requirements. This could take a while. - ERROR: Could not find a version that satisfies the requirement cadquery-ocp~=7.7.1 (from build123d) (from versions: none) - ERROR: No matching distribution found for cadquery-ocp~=7.7.1 - -A procedure for avoiding this issue is to install in a conda environment, which does have the missing dependency (substituting for the environment name you want to use for this install): - -.. doctest:: - - conda create -n python=3.10 - conda activate - conda install -c cadquery -c conda-forge cadquery=master - pip install svgwrite svgpathtools anytree scipy ipython trianglesolver \ - ocp_tessellate webcolors==1.12 "numpy>=2,<3" cachetools==5.2.0 \ - ocp_vscode requests orjson urllib3 certifi py-lib3mf \ - "svgpathtools>=1.5.1,<2" "svgelements>=1.9.1,<2" "ezdxf>=1.1.0,<2" - pip install --no-deps build123d ocpsvg - -`You can track the issue here `_ - Adding a nicer GUI ----------------------------------------------