phoebe2 icon indicating copy to clipboard operation
phoebe2 copied to clipboard

Phoebe 2.4.11 build failure on Python 3.11.4

Open spencel9 opened this issue 2 years ago • 3 comments

Phoebe fails to build in venv with Python 3.11.4.

Collecting phoebe
  Downloading phoebe-2.4.11.tar.gz (77.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.7/77.7 MB 42.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      Numpy is needed for running and building of PHOEBE
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.

spencel9 avatar Jul 21 '23 20:07 spencel9

Numpy is installed

Name: numpy
Version: 1.24.4
Summary: Fundamental package for array computing in Python
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email:
License: BSD-3-Clause
Location: /Users/lindsayspence/phoebevenv/lib/python3.8/site-packages
Requires:
Required-by:

spencel9 avatar Jul 21 '23 20:07 spencel9

Are you sure that numpy is available from the same version/instance of python that pip is trying to install phoebe into?

kecnry avatar Jul 24 '23 15:07 kecnry

@spencel9, can you please try the 2.4.12 build? We replaced the build system and I'm hoping that this is resolved.

aprsa avatar Jan 21 '24 00:01 aprsa

This should be fixed now, if anyone runs into this same problem after 2.4.12, please re-open this issue or create a new one.

kecnry avatar Jun 14 '24 07:06 kecnry