Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error at pip install - Mac Intel #361

Open
qynikos opened this issue Jan 30, 2024 · 10 comments
Open

Build error at pip install - Mac Intel #361

qynikos opened this issue Jan 30, 2024 · 10 comments

Comments

@qynikos
Copy link

qynikos commented Jan 30, 2024

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

@ianspektor
Copy link
Collaborator

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.

@qynikos
Copy link
Author

qynikos commented Jan 30, 2024

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

@ianspektor
Copy link
Collaborator

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?

@qynikos
Copy link
Author

qynikos commented Jan 30, 2024

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

@rstz
Copy link
Collaborator

rstz commented Jan 31, 2024

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

@qynikos
Copy link
Author

qynikos commented Jan 31, 2024

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

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

@rstz
Copy link
Collaborator

rstz commented Jan 31, 2024

What's the output of

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

@qynikos
Copy link
Author

qynikos commented Jan 31, 2024

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

@rstz
Copy link
Collaborator

rstz commented Jan 31, 2024

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

@qynikos
Copy link
Author

qynikos commented Jan 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants