poetry: `xattr/lib_build.h` not found mac M1 install
- Poetry version:
Poetry (version 1.2.2)
- Python version:
Python 3.8.14
- OS version and name:
macOS 12.6
- pyproject.toml: from empty https://gist.github.com/Chichilele/227e7ec636c6483ae891ba0e22bba710
- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option) and have included the output below. https://gist.github.com/Chichilele/d8a01dd80b82d6a20e122f990e35cdce
Issue
The xattr/lib_build.h
file doesn’t exist. Could there be a problem with the dependencies?
The same problem with the following libraries:
- flask
- numy
- onnx
but works with:
- loguru
- urllib3
So it clearly seems to be related to packages that require a build/compilation.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 8
- Comments: 16 (2 by maintainers)
Commits related to this issue
- Bump `xattr` version to `0.10.0`. (#7005) # Pull Request Check List Resolves: #6928 <!-- This is just a reminder about the most common mistakes. Please make sure that you tick all *appropriat... — committed to python-poetry/poetry by moonsikpark 2 years ago
- chore: update mypy >= 0.990 update lockfile. pip install --no-input everywhere (#6966) This is an extension of https://github.com/python-poetry/poetry/pull/6724. I think `pip install` invoked by po... — committed to moonsikpark/poetry by moonsikpark 2 years ago
- chore: update mypy >= 0.990 update lockfile. pip install --no-input everywhere (#6966) This is an extension of https://github.com/python-poetry/poetry/pull/6724. I think `pip install` invoked by po... — committed to moonsikpark/poetry by moonsikpark 2 years ago
- chore: update mypy >= 0.990 update lockfile. pip install --no-input everywhere (#6966) This is an extension of https://github.com/python-poetry/poetry/pull/6724. I think `pip install` invoked by po... — committed to moonsikpark/poetry by moonsikpark 2 years ago
I’ve just rerun the code to install poetry and it fixed.
From official docs:
curl -sSL https://install.python-poetry.org | python3 -
I did the following on my Intel Mac which seems to get around this problem: