/usr/local/Cellar/pyenv/1.2.7/libexec/pyenv: No such file or directory 해결하기
카테고리 없음 2019. 1. 30. 16:12pyenv 정리하다가 실수로 .pyenv를 삭제할 수 있다.
pip 실행시 아래와 같이 로그가 나오면...
/Users/samuel.kim/.pyenv/shims/pip: line 21: /usr/local/Cellar/pyenv/1.2.7/libexec/pyenv: No such file or directory
/Users/samuel.kim/.pyenv/shims/pip: line 21: /usr/local/Cellar/pyenv/1.2.7/libexec/pyenv: No such file or directory
-bash: /Users/samuel.kim/.spark/venv/bin/python3: No such file or directory
-bash: /Users/samuel.kim/.spark/venv/bin/activate: No such file or directory
pyenv rehash를 실행하면 pyenv 환경이 제대로 되고 위 에러가 발생하지 않는다.