Cannot install scipy on MacOS. ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly

Viewed 771

Note: I checked the question posted here also. But it didn't help me. And I'm somewhat new to Python and sorry if I have missed something straightforward!

Previously everything was fine with my Makefile. But suddenly I started to get ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly error. Then I realised that I get the error when I try to install scipy on any python project on my machine.

Command: ./venv/bin/pip install scipy

Python version: python3 --version -> Python 3.9.0

Pip version: pip3 --version -> pip 20.2.4 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)

OS: MacOS 10.15.7

I was spending a couple of hours trying out everything which comes to mind but still no lock. Can someone please help?

0 Answers
Related