
When i run the any *.py file it gives me popup information.
Flymake: Failed to launch syntax check process 'pyflakes' with args (/home/rho/testpy/main_flymake.py): Searching for program: no such file or directory, pyflakes. Flymake will be switch OFF
Yes I have install pyflakes both in py2 and py3 using.
$ pip2 install --user pyflakes # for py2.7
$ pip install --user pyflakes # for py3.3
Is the program in your PATH / exec-path? If not, set python-check-command to the full path. Does it work then?
I'm not really sure.. how to check python-check-command
M-x python-check RET
Check command: pyflakes main.py
Return output:
-*- mode: compilation; default-directory: "/mnt/Core/tkgui/src/angui/" -*-
Compilation started at Mon Apr 29 14:19:39
pyflakes main.py
/bin/bash: pyflakes: command not found
M-x customize-variable RET python-check-command RET and set it to the full path of pyflakes :-)
finally
$ sudo pip install pyflakes
solved the problem!
thanx @jorgenschaefer for quick response.
Glad it works now, and you are welcome. Enjoy Elpy :-)
I had the same problem. It was because I'm installing packages to home directory (pip install --user pyflakes), which places binaries in ~/.local/bin, which is not in my $PATH.
Setting the variable helps.
I want to set full path to pyflackes. But I can't..
I follow the steps mentioned previously.
M-x customize-variable RET python-check-command RET
then click apply and save, emacs told me that `forward-sexp: Scan error: "Unbalanced parentheses"'
I was change the command directly.
screen shot :

I do not know what might be causing that error. Could you run M-x toggle-debug-on-error and hit "apply and save" again to see where the error happens? You can post the backtrace here.
Or rather, please do open a new issue for this, as it is unrelated to the issue you commented on. Thank you! :-)
I am sorry I made that mistake.
I was editing .emacs file at the same time. There was an unclosed parenthesis in my .emacs file.
No worries. Glad it works now, and please do not hesitate to open a new issue if you have any further problems!
thank to @jorgenschaefer: commented on Apr 29, 2013
M-x customize-variable RET python-check-command RET and set it to the full path of pyflakes :-)
it works
One more thanks from me. Below is my actual path, in case it helps anyone:
1) M-x customize-variable RET
2) python-check-command RET
3) in the text box after 'Python Check Command:' ent the exact path with pyflakes itself included of course: "/usr/local/bin/pylakes"
4) Click on "Apply and Save"
5) Open up a .py file and enjoy!
