temporian icon indicating copy to clipboard operation
temporian copied to clipboard

Build error at pip install - Mac Intel

Open qynikos opened this issue 1 year ago • 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

qynikos avatar Jan 30 '24 19:01 qynikos

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.

ianspektor avatar Jan 30 '24 19:01 ianspektor

Στιγμιότυπο οθόνης 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.

qynikos avatar Jan 30 '24 20:01 qynikos

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?

ianspektor avatar Jan 30 '24 20:01 ianspektor

Mac mini 2018 @ Sonoma 14.2.1 & Python version 3.10.13 (was getting same for 3.11.5).

qynikos avatar Jan 30 '24 20:01 qynikos

You can force building from a wheel in Python with pip install temporian --only-binary :all:. Does this work?

rstz avatar Jan 31 '24 08:01 rstz

It does install v0.0.0: Found existing installation: temporian 0.0.0

import temporian as tp / ModuleNotFoundError: No module named 'temporian'

qynikos avatar Jan 31 '24 12:01 qynikos

What's the output of

from packaging.tags import sys_tags
print(list(sys_tags()))

rstz avatar Jan 31 '24 12:01 rstz

a pretty long list, anything specific I should look for there to give you?

qynikos avatar Jan 31 '24 12:01 qynikos

I imagine cp310-cp310-macosx_12_0_x86_64 is not on the list, but maybe cp310-cp310-macosx_10_15_x86_64 is?

rstz avatar Jan 31 '24 12:01 rstz

both are there: <cp310-cp310-macosx_12_0_x86_64 @ 140514561832512>, <cp310-cp310-macosx_10_15_x86_64 @ 140514561918912>

qynikos avatar Jan 31 '24 12:01 qynikos