<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/90197>90197</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            apple build 18.1.4 error ModuleNotFoundError: No module named 'setuptools'
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          calvin2021y
      </td>
    </tr>
</table>

<pre>
    ```sh
# Using git ref: llvmorg-18.1.4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time Current
                                 Dload  Upload   Total   Spent Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  196M  100  196M    0     0  5867k      0 0:00:34  0:00:34 --:--:-- 7216k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0 0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0 0      0      0 --:--:-- --:--:-- --:--:--     0
100  336M    0  336M 0     0  7433k      0 --:--:--  0:00:46 --:--:-- 11.8M
Traceback (most recent call last):
  File "/opt/procjets/llvm-project/final/llvm-project/llvm/utils/lit/setup.py", line 4, in <module>
    from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'
```

I already install `brew install python-setuptools`

test x86-64  and arm64 get the same error


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0lEuP2zYQgH8NdRnY4EMP66CDuxsBBbo5NBugt4ISxzJjShRIalv_-4LU-pUUKdoihkHOkJqPnAdHeq-HCbEhxU-keM7kEo7WNb00b3rilLNz1ll1bkhJ178_EvpM6J5wAZ-9ngYYdACHByL2YMzbaN2wYbst2-brhwCEF_BqgzQAq_Ir9qjfUCXltwM6BbB_QycHhE8zogKAVz0i3M2r8LQ4h1O4kP_h92ysVACf53W-XuLTjFOAX_AQYD3vwqPJjF6Hb8S7abMhYv8-fEdJH698RikAq8sXgDvxjl_syup04VMi9jQOIocH5QFfcVaefkCgv4r09yMJ8G-C-f8D-SPZKTNCXDOTxOsZVS7E6W_htxTl5eMOY9vdywp_dbLHTvYnIHw3Wh8fTh8j2EtjwEgfCK-J2F_cbLVBIJwT3to5EN7OzvZfMHjC2_jWNrOzX7CPOwc9SfPtclQJb5egTTLScdFjWObtfE7kJzB6QsijpCcg4mm0ajFIxIfbMzs4O0IyC9YaD3qcrQvrSjQ86En9Psv-JAf0q9lLony0obXLpD44Z11sER8trHyY5Jgqs7pxCa_eu8ul3byrafwZpHEo1Rn05EOMGClp5_CPqz6fw9FOmzvgIyGgD_DnrtyUOYCcFEg3ljkMGCAcEbwcETDd9M4oU41Qtahlhg2rWM4Ep3mdHRvVyR2jtaqqvuesFAXtOiH7smBFjYKrTDec8pzmvGQsr3i9rctypw413xVK5lVXk5ziKLXZxjRtrRsy7f2CTU1ZXWVGdmh86sycT9HNuBmTVjxnrkmZ7pbBk5wa7YO_UYIOBhs5zwahW7RRsHbk1Tn4j6nJFmeaYwizjyXKW8LbQYfj0m17O95q7asKTJeOtZec-isAAP__qWvBXA">