pythonpipibm-watson

pip installing ibm_watson_machine_learning module fails


I'm pip installing the ibm_watson_machine_learning module on a new virtual environment running python 3.12.1. I get an error saying 'could not build wheels for pandas, which is required to install pyproject.toml-based projects'.

For some background, I did this on a clean, new virtual environment with

py -m venv venv
.\venv\scripts\activate

I also tried pip installing pandas like so,

pip install pandas

before trying to do

pip install ibm_watson_machine_learning

but the issue persists.


Solution

  • I solved this by installing Microsoft C++ Build Tools. I got it here.