bmunoz89 / alfred-wf-bluetooth-manager

Connect and disconnect a bluetooth device easily
https://www.alfredforum.com/topic/13493-bluetooth-manager-connect-and-disconnect-a-bluetooth-device-easily/
MIT License
62 stars 0 forks source link

Need your help again #19

Closed victorchor2868 closed 2 years ago

victorchor2868 commented 2 years ago

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 CleanShot 2022-06-28 at 20 42 01@2x

bmunoz89 commented 2 years ago

hey @victorchor2868, did you do this first?

brew install pyenv
pyenv install 2.7.18
victorchor2868 commented 2 years ago

Yes, I did it

victorchor2868 commented 2 years ago
CleanShot 2022-06-29 at 15 01 06@2x
victorchor2868 commented 2 years ago

Last time, you teach me to do this step, I have also followed your instruction this time, but this time is unsuccessful

CleanShot 2022-06-29 at 15 02 38@2x
bmunoz89 commented 2 years ago

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"
victorchor2868 commented 2 years ago

Work again, thanks for your help