google/temporian

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

Hey @qynikos!

How are you installing it? Mac intel wheel for py3.10 is on PyPI (see temporian-0.7.0-cp310-cp310-macosx_12_0_x86_64.whl here), you shouldn't be needing to build it yourself.

Στιγμιότυπο οθόνης 2024-01-30, 10 01 49 μμ
Στιγμιότυπο οθόνης 2024-01-30, 10 02 24 μμ
Ian, thanks for getting back so quickly! See my 2 screenshots, have been trying pip install from 3.10 (and 3.11 as well) but always getting this error. Tried few workarounds from StackOverflow on that error for other libs but no luck.

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).

rstz commented

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'

rstz commented

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?

rstz commented

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>