I`ve recently started having problems with pip installs. Every time I run this kind of command in Terminal, I get an error:
Could not install packages due to:
I met the same problem and this might work for you cd into the location where metadata.json exists and type this command cp metadata.json METADATA then you could do sudo pip install