Build error at pip install - Mac Intel
Opened this issue · 10 comments
Building wheels for collected packages: temporian
Building wheel for temporian (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for temporian (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [56 lines of output]
fatal: not a git repository (or any of the parent directories): .git
A setup.py file already exists. Using it.
running build
running bazel_build
I saw there was a similar issue reported earlier but couldnt find anywhere the steps to resolve. Any chance there are anywhere some steps to follow to resolve?
Mac Intel, Python 3.10
No worries! Strange that it's pulling the tarball from PyPI instead of the built wheel. What's your exact MacOS version, Macbook model, python version?
@rstz any ideas?
Mac mini 2018 @ Sonoma 14.2.1 & Python version 3.10.13 (was getting same for 3.11.5).
You can force building from a wheel in Python with pip install temporian --only-binary :all:
. Does this work?
It does install v0.0.0:
Found existing installation: temporian 0.0.0
import temporian as tp / ModuleNotFoundError: No module named 'temporian'
What's the output of
from packaging.tags import sys_tags
print(list(sys_tags()))
a pretty long list, anything specific I should look for there to give you?
I imagine cp310-cp310-macosx_12_0_x86_64 is not on the list, but maybe cp310-cp310-macosx_10_15_x86_64
is?
both are there:
<cp310-cp310-macosx_12_0_x86_64 @ 140514561832512>,
<cp310-cp310-macosx_10_15_x86_64 @ 140514561918912>