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

Issue with pip install fastjet #306

Open
alexbuzzi opened this issue Jul 17, 2024 · 1 comment
Open

Issue with pip install fastjet #306

alexbuzzi opened this issue Jul 17, 2024 · 1 comment

Comments

@alexbuzzi
Copy link

Using the following version of pip on my machine:

pip version: 24.1.2
machine: 2023 Macbook Pro - M3 Pro chip

running pip install fastjet gives the following error:

pip install fastjet

        File "/Users/user/mambaforge/lib/python3.10/subprocess.py", line 526, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['./autogen.sh', '--prefix=/private/var/folders/bk/bq4bkyhn6l7gr156r0_j7zdc0000gn/T/pip-install-ya9d_et6/fastjet_cb60f3f8fb88406aa5147511cad1d44a/src/fastjet/_fastjet_core', '--enable-thread-safety', '--disable-auto-ptr', '--enable-allcxxplugins', '--enable-cgal-header-only', '--enable-cgal', '--with-cgaldir=/private/var/folders/bk/bq4bkyhn6l7gr156r0_j7zdc0000gn/T/pip-install-ya9d_et6/fastjet_cb60f3f8fb88406aa5147511cad1d44a/CGAL-5.6', '--enable-swig', '--enable-pyext', "LDFLAGS= -Wl,-rpath,'$$ORIGIN/_fastjet_core/lib:$$ORIGIN:$$ORIGIN/../..'"]' returned non-zero exit status 1.
      [end of output] 

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fastjet
Failed to build fastjet
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (fastjet)
@matthewfeickert
Copy link
Member

matthewfeickert commented Aug 12, 2024

@alexbuzzi you're seeing this as there aren't yet Apple silicon compatible wheels for fastjet on PyPI (c.f. Issue #169). pip is then trying to build from the sdist but you don't have the necessary build tools locally installed.

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

2 participants