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.


I had the same issue. I resolved this issue after run below command

pip install --upgrade pip setuptools wheel