error run-python in basic configuration
Closed this issue · 1 comments
fkgruber commented
Summary
activated the virtual environment and when running the run-python command after installing elpy give error
Steps to reproduce
run-python
Wrong number of arguments: (lambda (string) "Evaluate STRING in inferior Python process." (interactive "sPython command: ") (comint-send-string (python-proc) string) (if (string-match "
\\'" string) nil (comint-send-string (python-proc) "
")) (if (string-match "
[ ].*
?\\'" string) (progn (comint-send-string (python-proc) "
")))), 2
I also see other error on Messages:
error in process filter: elpy-rpc--default-error-callback: Selecting deleted buffer
error in process filter: Selecting deleted buffer
Mark set
My configuration
OS
mac os Monterey 12.2.1
Result of (elpy-config)
Elpy Configuration
Emacs.............: 28.1
Elpy..............: 1.35.0
Virtualenv........: torch (/Users/fred/envs/torch/)
Interactive Python: python 3.9.12 (/Users/fred/envs/torch/bin/python)
RPC virtualenv....: rpc-venv (/Users/fred/.emacs.d/elpy/rpc-venv)
Python...........: python 3.9.12 (/Users/fred/.emacs.d/elpy/rpc-venv/bin/python)
Jedi.............: 0.18.1
Autopep8.........: 1.6.0
Yapf.............: 0.32.0
Black............: 22.3.0
Syntax checker....: flake8 (/Users/fred/envs/torch/bin/flake8)
Elpy configuration in my init.el
(use-package elpy
:ensure t
:init
(elpy-enable))
`