error: could not create 'build/lib.macosx-11.0-arm64-cpython-312/grain': Not a directory
- Dominant language
- Python
- Stars
- 779
- Forks
- 86
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 6
Description
Checking to see if this was resolved https://github.com/google/grain/issues/668 when I came to this issue @ f3bec91 on 3.12.8 on my M3 Pro:
```
(venv-3-12) grain % python -m pip install .
Processing /private/tmp/grain
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting absl-py (from grain==0.2.3)
Downloading absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting array-record (from grain==0.2.3)
Downloading array_record-0.6.0-cp312-cp312-macosx_11_0_universal2.whl.metadata (692 bytes)
Collecting cloudpickle (from grain==0.2.3)
Downloading cloudpickle-3.1.1-py3-none-any.whl.metadata (7.1 kB)
Collecting dm-tree (from grain==0.2.3)
Downloading dm_tree-0.1.8-cp312-cp312-macosx_11_0_arm64.whl.metadata (1.9 kB)
Collecting etils[epath,epy] (from grain==0.2.3)
Downloading etils-1.11.0-py3-none-any.whl.metadata (6.5 kB)
Collecting jaxtyping (from grain==0.2.3)
Downloading jaxtyping-0.2.36-py3-none-any.whl.metadata (6.5 kB)
Collecting more-itertools>=9.1.0 (from grain==0.2.3)
Downloading more_itertools-10.6.0-py3-none-any.whl.metadata (37 kB)
Collecting numpy (from grain==0.2.3)
Downloading numpy-2.2.1-cp312-cp312-macosx_14_0_arm64.whl.metadata (62 kB)
Collecting fsspec (from etils[epath,epy]->grain==0.2.3)
Downloading fsspec-2024.12.0-py3-none-any.whl.metadata (11 kB)
Collecting importlib_resources (from etils[epath,epy]->grain==0.2.3)
Downloading importlib_resources-6.5.2-py3-none-any.whl.metadata (3.9 kB)
Collecting typing_extensions (from etils[epath,epy]->grain==0.2.3)
Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting zipp (from etils[epath,epy]->grain==0.2.3)
Downloading zipp-3.21.0-py3-none-any.whl.metadata (3.7 kB)
Downloading more_itertools-10.6.0-py3-none-any.whl (63 kB)
Downloading absl_py-2.1.0-py3-none-any.whl (133 kB)
Downloading array_record-0.6.0-cp312-cp312-macosx_11_0_universal2.whl (1.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 9.4 MB/s eta 0:00:00
Downloading cloudpickle-3.1.1-py3-none-any.whl (20 kB)
Downloading dm_tree-0.1.8-cp312-cp312-macosx_11_0_arm64.whl (111 kB)
Downloading jaxtyping-0.2.36-py3-none-any.whl (55 kB)
Downloading numpy-2.2.1-cp312-cp312-macosx_14_0_arm64.whl (5.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.1/5.1 MB 23.1 MB/s eta 0:00:00
Downloading etils-1.11.0-py3-none-any.whl (165 kB)
Downloading fsspec-2024.12.0-py3-none-any.whl (183 kB)
Downloading importlib_resources-6.5.2-py3-none-any.whl (37 kB)
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Downloading zipp-3.21.0-py3-none-any.whl (9.6 kB)
Building wheels for collected packages: grain
Building wheel for grain (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for grain (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-11.0-arm64-cpython-312/grain
error: could not create 'build/lib.macosx-11.0-arm64-cpython-312/grain': Not a directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for grain
Failed to build grain
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (grain)
```
Contributor guide
Assessment
This issue has not been assessed yet.