title: Why lsp-mode prompt "command pyls is not present on the path" in emacs?
body: <p>OS: Arch Linux</p>
  <p>I follow the <a href="https://emacs-lsp.github.io/lsp-mode/page/lsp-pyls/" rel="nofollow noreferrer">document</a> and I enter <code>pip install 'python-language-server[all]' --user</code> in the terminal at last. After opening a python file in Emacs, lsp-mode promat me &quot;command pyls is not present on the path&quot; and no any completion list. But I can run it in the terminal by entering <code>pyls</code>. Here is my init-lsp.el.</p>
  <pre class="lang-lisp prettyprint-override"><code>(use-package lsp-mode
    :init (setq lsp-keymap-prefix &quot;C-c l&quot;)
    :hook ((python-mode . lsp-deferred))
    :commands (lsp lsp-deferred))
  
  (use-package lsp-ivy :commands lsp-ivy-workspace-symbol)
  (use-package lsp-treemacs :commands lsp-treemacs-errors-list)
  
  (provide 'init-lsp)
  </code></pre>