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

BUG: Preparing metadata (pyproject.toml) did not run successfully #18401

Closed
webadmin-psychologie opened this issue May 2, 2023 · 1 comment
Closed
Labels
Build issues Issues with building from source, including different choices of architecture, compilers and OS defect A clear bug or issue that prevents SciPy from being installed or used as expected

Comments

@webadmin-psychologie
Copy link

webadmin-psychologie commented May 2, 2023

Describe your issue.

I always (since about three days) get this error when install the package.

Reproducing Code Example

pip install scipy

Error message

Using cached scipy-1.10.1.tar.gz (42.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      The Meson build system
      Version: 1.1.0
      Source dir: /tmp/pip-install-1_lvv1l1/scipy_49f6f8770d974237958632829d776336
      Build dir: /tmp/pip-install-1_lvv1l1/scipy_49f6f8770d974237958632829d776336/.mesonpy-i8u5z56g/build
      Build type: native build
      Project name: SciPy
      Project version: 1.10.1
      C compiler for the host machine: cc (gcc 12.2.1 "cc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924")
      C linker for the host machine: cc ld.bfd 2.39
      C++ compiler for the host machine: c++ (gcc 12.2.1 "c++ (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924")
      C++ linker for the host machine: c++ ld.bfd 2.39
      
      ../../meson.build:1:0: ERROR: Cython compiler 'cython' cannot compile programs
      
      A full log can be found at /tmp/pip-install-1_lvv1l1/scipy_49f6f8770d974237958632829d776336/.mesonpy-i8u5z56g/build/meson-logs/meson-log.txt
      + meson setup --prefix=/usr/local /tmp/pip-install-1_lvv1l1/scipy_49f6f8770d974237958632829d776336 /tmp/pip-install-1_lvv1l1/scipy_49f6f8770d974237958632829d776336/.mesonpy-i8u5z56g/build --native-file=/tmp/pip-install-1_lvv1l1/scipy_49f6f8770d974237958632829d776336/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

SciPy/NumPy/Python version and system information

scipy-1.10.1
@webadmin-psychologie webadmin-psychologie added the defect A clear bug or issue that prevents SciPy from being installed or used as expected label May 2, 2023
@webadmin-psychologie webadmin-psychologie changed the title BUG: <Please write a comprehensive title after the 'BUG: ' prefix> BUG: Preparing metadata (pyproject.toml) did not run successfully May 2, 2023
@j-bowhay j-bowhay added the Build issues Issues with building from source, including different choices of architecture, compilers and OS label May 2, 2023
@tupui
Copy link
Member

tupui commented May 2, 2023

Thank you for reporting @webadmin-psychologie. This is a duplicate of #18390 so closing this one 😃

@tupui tupui closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build issues Issues with building from source, including different choices of architecture, compilers and OS defect A clear bug or issue that prevents SciPy from being installed or used as expected
Projects
None yet
Development

No branches or pull requests

3 participants