Installation method:
First, install some dependent packages:
Install install to check for syntax errors install Used to automatically introduce the required package install importmagic# autopep8 to check the PEP8 specification Install Used to format code install YAPF
Then, in your home directory, create an. emacs file and write the following:
' Package ) ' package-archives ' ("Elpy". "https://jorgenschaefer.github.io/packages/"))
Open Emacs Run M-x package-refresh-contents
load new library and then run M-x package-install RET elpy RET
(ret = enter) Install Elpy
Finally, add the contents below to the. emacs File
(package-Initialize) (elpy-enable)
Complete.
Reference:
Https://github.com/jorgenschaefer/elpy
https://realpython.com/blog/python/emacs-the-best-python-editor/
http://codingpy.com/article/emacs-the-best-python-editor/
Https://www.emacswiki.org/emacs?action=browse;oldid=PythonMode;id=PythonProgrammingInEmacs#toc2
Https://elpy.readthedocs.io/en/latest/introduction.html#installation
Emacs Python Auto-complement full--elpy