## pipenv install lib failed
**Scenario desc:**
```Bash
# run pipenv command to install click lib but give error like
➜ click pipenv install click
Creating a virtualenv for this project…
Using /usr/local/opt/python/bin/python3.6 (None) to create virtualenv…
⠋Warning: it looks like /usr/local/opt/python/bin/python3.6 is not in your PATH. We cannot continue until this is resolved.
# this occured when I update python version to 3.7 ver brew, env info show like
➜ bin which pip3.7
/usr/local/bin/pip3.7
➜ bin which pipenv
/usr/local/bin/pipenv
# and I revert python version to 3.6 and this issue resolved
brew switch python 3.6.5_1
```
---------
Thinking about the relationship between pipenv and pyenv.
They are total two different ecosystem of python.
pyenv is to manage the python version when you want to fire python terminal in your terminal.
and there is a virtualenv plugin for it called pyenv-virtualenv.
pipenv is another tool to easy control the python version and third lib management.
you can special the python version the first time you run pipenv --three/two.
in conclusion, they are functionally like each other but total two different tool, can't work the same time.