ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly

I had the same issue with opencv-python. What worked for me was updating pip as:

pip3 install --upgrade pip

Note: I am using docker on Linux.

Leave a Comment