poetry: `xattr/lib_build.h` not found mac M1 install

  • 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

Most upvoted comments

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:

pip uninstall xattr
pip install xattr