I am getting this error on windows 10 python 3.8 Emacs 27 and prelude configuration

Company: backend company-ngram-backend error "Process company-ngram not running" with args (prefix)

I am using this code in .emacs

    (with-eval-after-load 'company-ngram
  ; ~/data/ngram/*.txt are used as data
  (setq company-ngram-data-dir "~/data/ngram")
  ; company-ngram supports python 3 or newer
  (setq company-ngram-python "python3")
  (cons 'company-ngram-backend company-backends)
  ; or use `M-x turn-on-company-ngram' and
  ; `M-x turn-off-company-ngram' on individual buffers
  ; save the cache of candidates
  (run-with-idle-timer 7200 t
                       (lambda ()
                         (company-ngram-command "save_cache")

(require 'company-ngram nil t)
  • Windows 10 , python 3.8
    – Vaibhav
    Oct 13 '20 at 18:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.