Emacs Python development environment construction memo

Make settings based on the emacswiki documentation. http://www.emacswiki.org/emacs/PythonProgrammingInEmacs

All of them require pymacs, so install them accordingly. On Ubuntu, you can install it with apt-get install pymacs.

Three types are introduced. For the time being, ropemacs seemed to be troublesome I tried the other two.

Emacs for Python

I was a little addicted to the installation, but I just didn't understand how this Emacs for Python works. This completely changes Emacs into a Python development environment, and makes major changes to Emacs itself. If you want to use it, you should prepare a dedicated Emacs. Since there is a trade-off with other Emacs assets that already exist, we have not introduced it. The completed environment seemed to be very easy to use.

I was able to cooperate with such as without any problems

Elpy

The installation itself was a little tricky. First of all, python.el does not work well because it is different from what I expected in my environment.

This is used in my environment (emacs standard) http://www.loveshack.ukfsn.org/emacs/python.el

It seems that this was what I was assuming https://github.com/fgallina/python.el

So be careful when doing `` (require'python) `.

imenu doesn't work

(semantic-mode 1) 
(add-hook 'python-mode-hook
  (lambda ()
    (setq imenu-create-index-function 'python-imenu-create-index)))

After setting it like this and modifying it to work, it worked without any problems.

Cooperation with such as also worked without problems.

Recommended Posts

Emacs Python development environment construction memo
Python development environment construction
python2.7 development environment construction
Django development environment construction memo
Python environment construction (Windows10 + Emacs)
[MEMO] [Development environment construction] wine
Python environment construction memo on Windows 10
Environment construction (python)
Python environment construction memo on Mac
[Python3] Development environment construction << Windows edition >>
Python development environment construction on macOS
[MEMO] [Development environment construction] Jupyter Notebook
Vim + Python development environment setting memo
Emacs settings for Python development environment
Python --Environment construction
Python environment construction
Ubuntu Desktop 20.04 development environment construction memo
python environment construction
Python (anaconda) development environment construction procedure (SpringToolsSuites) _2020.4
Python3 + venv + VSCode + macOS development environment construction
Mac OS X development environment construction memo
Windows + gVim + Poetry python development environment construction
My python environment memo
python windows environment construction
ConoHa environment construction memo
homebrew python environment construction
About Python development environment
BigGorilla environment construction memo
Development environment in Python
Anaconda environment construction memo
Mac environment construction Python
[Memo] Django development environment
Python environment construction @ Win7
Python + Anaconda + Pycharm environment construction
[Memo] Construction of cygwin environment
Python environment construction For Mac
Anaconda3 × Pycharm environment construction memo
Python3 environment construction (for beginners)
Organize your Python development environment
Python environment construction and TensorFlow
[ev3dev × Python] Build ev3dev development environment
Python environment construction under Windows7 environment
Ubuntu18.04 Development environment creation memo
[For organizing] Python development environment
django project development environment construction
Environment construction of python2 & 3 (OSX)
Development environment load measurement memo
Python development environment construction 2020 [From Python installation to poetry introduction]
QGIS3 Python plugin development environment construction with VSCode (macOS)
python memo (for myself): About the development environment virtualenv
Environment construction of python and opencv
Python memo
Anaconda python environment construction on Windows 10
Python + Unity Reinforcement learning environment construction
python memo
[Personal memo] Python virtual environment command memo
Construction of Python local development environment Part 2 (pyenv-virtualenv, pip usage)
Web application development memo in python
I checked Mac Python environment construction
[For beginners] Django -Development environment construction-
Python memo