Closed victorchor2868 closed 2 years ago
hey @victorchor2868, did you do this first?
brew install pyenv
pyenv install 2.7.18
Yes, I did it
Last time, you teach me to do this step, I have also followed your instruction this time, but this time is unsuccessful
ok, it seems like the directory /usr/local/bin/
does not exists, so you should created it, try this:
mkdir -p /usr/local/bin/
If it throws a permission error try it with sudo:
sudo mkdir -p /usr/local/bin/
And after that you should be able to use the ln
command:
ln -s "${HOME}/.pyenv/versions/2.7.18/bin/python2.7" "/usr/local/bin/python"
or using sudo if throws an error:
sudo ln -s "${HOME}/.pyenv/versions/2.7.18/bin/python2.7" "/usr/local/bin/python"
Work again, thanks for your help
Hi,
Sorry, due to today I have reformatted my mac, causing your workflow on my mac couldn't work again, I have already installed the phyton 2 , and also because the path is different, I have also followed your instructions and attempted to change it on the terminal, but this time unsuccessfully to get it to work. hope you can help. thank you