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

Cannot Use #18

Closed victorchor2868 closed 2 years ago

victorchor2868 commented 2 years ago

Hi,

I can't get it to work, I don't know which step I did wrong, but it worked before, I've updated to version 3.0.0, but when I type bm, it doesn't give any instructions, and I followed your instructions have updated pthyhon to phyton 2.

CleanShot 2022-06-12 at 17 24 46@2x CleanShot 2022-06-12 at 17 38 15@2x
bmunoz89 commented 2 years ago

@victorchor2868 sorry for the delay, seems like I'm not receiving notifications from this repo 🤔. Have you tried this step? https://github.com/bmunoz89/alfred-wf-bluetooth-manager#python-2-and-macos-monterrey well if you don't want to do that you can simple download the previous version if you don't have monterey https://github.com/bmunoz89/alfred-wf-bluetooth-manager/releases/download/2.4.1/Bluetooth.manager.alfredworkflow

victorchor2868 commented 2 years ago

I am already updated to monterey, and also followed the instruction you guided us to do, I have been screenshot the terminal, can you help me check it? thank yo

CleanShot 2022-06-25 at 01 00 23@2x CleanShot 2022-06-25 at 01 00 05@2x

u

bmunoz89 commented 2 years ago

@victorchor2868 sure, so what I can see is that you have a different homebrew path(HOMEBREW_PREFIX), so what I think it should work for you is this:

ln -s "${HOME}/.pyenv/versions/2.7.18/bin/python2.7" "/usr/local/bin/python"

If that's correct I will fix the README cause prolly you are not the only one with a diff homebrew path. Let me know if that works.

To check if it works try this command which should print the version:

/usr/local/bin/python --version

And of course the workflow should work now... hopefully 🙏

victorchor2868 commented 2 years ago

have been copied your instruction to the terminal, this is what i get. thank yo

CleanShot 2022-06-25 at 12 55 42@2x

u

bmunoz89 commented 2 years ago

your terminal is complaining cause you need more permissions to add the link, try using sudo:

sudo ln -s "${HOME}/.pyenv/versions/2.7.18/bin/python2.7" "/usr/local/bin/python"
victorchor2868 commented 2 years ago

Successful!!! Thank for your help, thank you so much

CleanShot 2022-06-26 at 00 11 02@2x