You can install pyenv in your home directory (as described in pyenv's installation guide), and then create a symlink at ~/.pyenv/versions to $(brew --cellar)/python:ln -s $(brew --cellar python)/* ~/.pyenv/versions/如今Homebrew的工作方式将同时适用于2.x和3.x.The way Homebrew works nowadays, this will pick up both 2.x and 3.x. 这篇关于如何使自制的python和pyenv一起生活?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-21 13:10