quaint-telephone-89068
12/30/2022, 7:44 PMnumba (https://pypi.org/project/numba/) using the following BUILD target:
python_requirement(name="numba", requirements=["numba"])
Because I'm running on an M1 mac, it looks like there's no hosted wheel so pip has to build the wheel itself.
But I am getting the following error when trying to execute any goal:
```
ProcessExecutionFailure: Process 'Building manage.pex with 53 requirements: Django==3.2.13, ShopifyAPI==11.0.0, Twisted<23.0.0,>=22, argon2-cffi==21.3.0, celery[redis]==5.2.6, channels-redis==3.4.0, channels==3.0.4, deux==1.2.0, dj-rest-auth==2.2.4, django-admin-sortable2==1.0.4, django-admin-sso==5.0.0, django-anymail==8.6, django-cors-headers==3.12.0, django-debug-toolbar==3.4.0, django-environ==0.8.1, django-extensions==3.1.5, django-fsm==2.8.0, django-import-export==2.8.0, django-inline-actions@ git+https://github.com/whisperai/django-inline-actions.git@asgoel/fix-inline-instances, django-ipware==4.0.2, django-phonenumber-field[phonenumbers]==6.1.0, django-redis==5.2.0, django-restql==0.15.2, django-safedelete==1.2.2, django-simple-history==3.1.1, django-ulid==0.0.4, djangorestframework==3.13.1, drf-nested-routers==0.93.4, google-api-python-client==2.47.0, google-auth==2.6.6, google-cloud-storage==1.44.0, gunicorn==20.1.0, jsonschema==4.5.1, lxml==4.8.0, natsort==8.0.2, numba, numpy-financial==1.0.0, numpy<=1.21, pottery==3.0.0, psycopg2-binary==2.9.3, pytest==7.1.2, python-dateutil==2.8.2, pytz==2022.1, redis==4.1.4, requests==2.27.1, sentry_sdk==1.5.12, setuptools, twilio==7.9.0, uvicorn[standard]==0.17.6, websockets==10.1, whisper_dsp@ file:///Users/ashu/Documents/backend/src/whisper_dsp/dist/whisper_dsp-1.5.2-py3-none-any.whl, whisper_fitting@ file:///Users/ashu/Documents/backend/src/whisper_fitting/dist/whisper_fitting-0.2.5-py3-none-any.whl, whisper_protobuf@ file:///Users/ashu/Documents/backend/src/whisper_protobuf/dist/whisper_protobuf-1.5.1-py3-none-any.whl' failed with exit code 1.
stdout:
stderr:
ERROR: Command errored out with exit status 1:
command: /Users/ashu/.cache/pants/named_caches/pex_root/venvs/s/eceb2b83/venv/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gp/53s4l2kd5bb7g3k054jt3kdc0000gq/T/process-executionXVWKH3/.tmp/pip-req-build-u8j4tqo0/setup.py'"'"'; file='"'"'/private/var/folders/gp/53s4l2kd5bb7g3k054jt3kdc0000gq/T/process-executionXVWKH3/.tmp/pip-req-build-u8j4tqo0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/gp/53s4l2kd5bb7g3k054jt3kdc0000gq/T/process-executionXVWKH3/.tmp/pip-wheel-9m7lcyyc
cwd: /private/var/folders/gp/53s4l2kd5bb7g3k054jt3kdc0000gq/T/process-executionXVWKH3/.tmp/pip-req-build-u8j4tqo0/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/gp/53s4l2kd5bb7g3k054jt3kdc0000gq/T/process-executionXVWKH3/.tmp/pip-req-build-u8j4tqo0/setup.py", line 413, in <module>
metadata['ext_modules'] = get_ext_modules()
File "/private/var/folders/gp/53s4l2kd5bb7g3k054jt3kdc0000gq/T/process-executionXVWKH3/.tmp/pip-req-build-u8j4tqo0/setup.py", line 141, in get_ext_modules
import numpy.distutils.misc_util as np_misc
ModuleNotFoundError: No module named 'numpy'
----------------------------------------
ERROR: Failed building wheel for numba
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/jobs.py", line 512, in execute_parallel
yield spawn_result.spawned_job.await_result()
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/jobs.py", line 216, in await_result
job.wait()
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/jobs.py", line 75, in wait
self._check_returncode(stderr)
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/jobs.py", line 144, in _check_returncode
raise self.create_error(msg, stderr=stderr)
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/jobs.py", line 125, in create_error
raise self.Error(
pex.jobs.Job.Error: Executing /Users/ashu/.cache/pants/named_caches/pex_root/venvs/4a4903f4a53b18a8968a4b2bac7896c88ae1b1da/44638ef2dcca9af8444fbdad0157e2e672b2f4cb/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir /Users/ashu/.cache/pants/named_caches/pex_root wheel --no-deps --wheel-dir /Users/ashu/.cache/pants/named_caches/pex_root/built_wheels/sdists/numba-0.55.1.tar.gz/03e9069a2666d1c84f93b00dbd716fb8fedde8bb2c6efafa2f04842a46442ea3/cp39-cp39.07efc8bdadf34102844a61607ceaff81 /private/var/folders/gp/53s4l2kd5bb7g3k054jt3kdc0000gq/T/process-executionXVWKH3/.tmp/tmpi2es6ry5/Users.ashu..pyenv.versions.3.9.12.bin.python3.9/numba-0.55.1.tar.gz --index-url https://pypi.org/simple/ --retries 5 --timeout 15 failed with 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/ashu/.cache/pants/named_caches/pex_root/unzipped_pexes/479026d892c9306a8907938e1e49f73e1514eabe/.bootstrap/pex/pex.py", line 504, in execute
exit_value = self._wrap_coverage(self._wrap_profiling, self._execute)
File "/Users/ashu/.cache/pants/named_caches/pex_root/unzipped_pexes/479026d892c9306a8907938e1e49f73e1514eabe/.bootstrap/pex/pex.py", line 409, in _wrap_coverage
return runner(*args)
File "/Users/ashu/.cache/pants/named_caches/pex_root/unzipped_pexes/479026d892c9306a8907938e1e49f73e1514eabe/.bootstrap/pex/pex.py", line 440, in _wrap_profiling
return runner(*args)
File "/Users/ashu/.cache/pants/named_caches/pex_root/unzipped_pexes/479026d892c9306a8907938e1e49f73e1514eabe/.bootstrap/pex/pex.py", line 560, in _execute
return self.execute_entry(self._pex_info.entry_point)
File "/Users/ashu/.cache/pants/named_caches/pex_root/unzipped_pexes/479026d892c9306a8907938e1e49f73e1514eabe/.bootstrap/pex/pex.py", line 696, in execute_entry
return self.execute_pkg_resources(entry_point)
File "/Users/ashu/.cache/pants/named_caches/pex_root/unzipped_pexes/479026d892c9306a8907938e1e49f73e1514eabe/.bootstrap/pex/pex.py", line 728, in execute_pkg_resources
return runner()
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/bin/pex.py", line 760, in main
do_main(
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/bin/pex.py", line 781, in do_main
pex_builder = build_pex(
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/bin/pex.py", line 669, in build_pex
result = resolve(
File "/Users/ashu/.cache/pants/named_caches/pex_root/installed_wheels/6a5463833452712ecf58a573b1b489c81d14aaed599e955c2af85cf793217a42/pex-2.1.84-py2.py3-none-any.whl/pex/resolver.py", line 1029, in resolve
build_and_install_request.install_distributions(
File "/Users/ashu/.cache/pants/named…
pantsbuild/pantsuser
12/30/2022, 7:44 PM