<#19776 Problem bootstrapping Pants on Mac M1> Iss...
# github-notifications
c
#19776 Problem bootstrapping Pants on Mac M1 Issue created by benjyw A user reported this error:
Copy code
Bootstrapping Pants 2.16.0 using cpython 3.9.16
Installing pantsbuild.pants==2.16.0 into a virtual environment at /Users/jan/Library/Caches/nce/aeded33e4c...e/bindings/venvs/2.16.0
  Preparing metadata (setup.py) ... done
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for psutil (setup.py) ... error
  ERROR: Failed building wheel for psutil
  error: subprocess-exited-with-error

  × Running setup.py install for psutil did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Running setup.py install for psutil ... error
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> psutil

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Install failed: Command '['/Users/jan/Library/Caches/nce/aede...e/bindings/venvs/2.16.0/bin/python', '-sE', '-m', 'pip', '--disable-pip-version-check', '--no-python-version-warning', '--log', '/Users/jan/Library/Caches/nce/aede...bf2e/bindings/venvs/2.16.0/pants-install.log', 'install', '--quiet', '--find-links', '<https://wheels.pantsbuild.org/simple/>', '--progress-bar', 'off', 'pantsbuild.pants==2.16.0']' returned non-zero exit status 1.
More information can be found in the log at: /Users/jan/Library/Caches/nce/aed...2e/bindings/logs/install.log

Error: Isolates your Pants from the elements.

Please select from the following boot commands:

scie-pants
bootstrap-tools
pants
pants-debug
update

You can select a boot command by passing it as the 1st argument or else by setting the SCIE_BOOT environment variable.

ERROR: Failed to establish atomic directory /Users/jan/Library/Caches/nce/aeded33e4c5a...e. Population of work directory failed: Boot binding command failed: exit status: 1
Context: https://pantsbuild.slack.com/archives/C046T6T9U/p1693997543934359 pantsbuild/pants