kyegomez / zeta

Build high-performance AI models with modular building blocks
https://zeta.apac.ai
Apache License 2.0
333 stars 28 forks source link

[BUG] Install errors #189

Closed yangyang2023a closed 1 month ago

yangyang2023a commented 3 months ago

When I use 'pip3 install -U zetascale' to install the package. It encouters the following errors:

Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [40 lines of output]

Upvote & Fund

Fund with Polar

github-actions[bot] commented 3 months ago

Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.

kyegomez commented 3 months ago

The error message suggests that there is an issue with preparing the metadata for the installation of SciPy. Specifically, it mentions an error with the Meson build system and unknown compilers.

The relevant error message states:

..meson.build:57:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']] Additionally, it mentions that it couldn't find the specified compilers:

Running gfortran --version gave "[Errno 2] No such file or directory: 'gfortran'" Running flang --version gave "[Errno 2] No such file or directory: 'flang'" Running nvfortran --version gave "[Errno 2] No such file or directory: 'nvfortran'" Running pgfortran --version gave "[Errno 2] No such file or directory: 'pgfortran'" Running ifort --version gave "[Errno 2] No such file or directory: 'ifort'" Running ifx --version gave "[Errno 2] No such file or directory: 'ifx'" Running g95 --version gave "[Errno 2] No such file or directory: 'g95'" This error usually occurs when the required compilers are not installed on the system. In this case, the system is missing the necessary compilers like gfortran, flang, nvfortran, pgfortran, ifort, ifx, and g95.

To resolve this error, you will need to install the missing compilers on your system. Once the compilers are installed and available in the system's PATH, you can try installing SciPy again.

Note: The specific steps to install the compilers depend on the operating system you are using.

github-actions[bot] commented 1 month ago

Stale issue message