I'm trying to install pyflakes with emacs. So far, i've got the flymake.el file from here. I put it inside my .emacs.d folder. Inside my .emacs file, I have this:
(when (load "flymake" t)
(defun flymake-pyflakes-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
(local-file (file-relative-name
temp-file
(file-name-directory buffer-file-name))))
(list "pyflakes" (list local-file))))
(add-to-list 'flymake-allowed-file-name-masks
'("\\.py\\'" flymake-pyflakes-init)))
(add-hook 'find-file-hook 'flymake-find-file-hook)
I've also downloaded pyflakes and it's callable from the command line. However, when I open up my emacs with a file, I still get that it cannot find the program 'pyflakes'. Why can't emacs find pyflakes while my command line can? I'm on iOS.