I use macOs Sierra version 10.12.6 on my MacBook Air, and python 3.7 and pipenv, Today I ran brew upgrade and updated Xcode Command Line Tools from App store. A
brew upgrade