光说有毛用


pyenv rehash problem

· by admin · Read in about 1 min · (31 Words)
pyenv linux python 

#pyenv rehash problem

description:

pyenv: cannot rehash: /home/XXX/.pyenv/shims/.pyenv-shim exists

fixup:

rm /home/XXX/.pyenv/shims/.pyenv-shim exists
pyenv rehash && hash -r
pyenv rehash && rehash

note:

replace XXX with your real username

reference:

http://stackoverflow.com/questions/29753592/pyenv-shim-not-created-when-installing-package-using-setup-py

Comments