Search code examples
pythondatatablepipwindows-10pyproject.toml

Windows 10, Datatable install issue 'Preparing metadata (pyproject.toml) did not run successfully.'


I have Python 3.10.2, pip 22.0.3, and pyqt5.15.2 . I run into this error when I try to install datatable:

pip install datatable
Collecting datatable
  Using cached datatable-1.0.0.tar.gz (1.1 MB)
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

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

I have tried building datatable from source, uninstalling and reinstalling pip along with multiple different python versions (3.8 and higher), and a good amount of time looking through datatable documentation and github issues. Any help would be greatly appreciated!


Solution

  • Support for python 3.10 will be in the Release 1.1.0; see https://github.com/h2oai/datatable/issues/3210.

    According to https://github.com/h2oai/datatable/discussions/3207 try the latest main from the repository:

    pip install "git+https://github.com/h2oai/datatable.git"