jason-kane/PyYapf

Sublime 3 plug-in issue with macOS 10.13.6

dsthrower opened this issue · 6 comments

Hello,

I have installed and can see the PyYapf package in both the sublime installed packages and packages file (screen shots attached) and the error when I try the key command. I am sure this is super simple. I assume I need to point the "yapf command:" to the right place, but not sure if I am right as I can't get it quite right.

Thanks and sorry for what is a silly question, but the demo I saw of PyYapf looked awesome so I would really like to get it work

screen shot 2018-07-19 at 9 45 43 pm

screen shot 2018-07-19 at 9 48 20 pm

screen shot 2018-07-19 at 9 49 18 pm

gzeng commented

@dsthrower did you pip install in virtual env? If so, you need to update yapf config accordingly. this fixed my issue "yapf_command": "venv/bin/yapf".

@dsthrower The screenshot of the settings file didn't get posted here unfortunately. Try running which yapf on the command line to figure out the path to yapf and use this as your yapf_command setting.

the 'new' search feature will be included in the next release (this weekend), that should take care of the most common sublime-cant-find-yapf problems.

Okay, should be addressed in v0.14.1. Please post again if it does work (or to confirm it does). It will be a few hours before the new code shows up in sublime Package Control.