-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Description
Summary
Python 3.12 has removed distutils Therefore the rpc initialization script fails.
Steps to reproduce
My configuration
OS
Mac OS Sonoma 14.6.1
homebrew install pipx python@3.12 virtualenv
Result of (elpy-config)
Elpy Configuration
Emacs.............: 29.4
Elpy..............: Not found (Python), 1.35.0 (Emacs Lisp)
Virtualenv........: py_docker (/Users/robert/.virtualenvs/py_docker/)
Interactive Python: python3 3.12.6 (/Users/robert/.virtualenvs/py_docker/bin/python3)
RPC virtualenv....: rpc-venv (/Users/robert/.emacs.d/elpy/rpc-venv)
Python...........: python3 nil (/Users/robert/.emacs.d/elpy/rpc-venv/bin/python3)
Jedi.............: Not found
Autopep8.........: Not found
Yapf.............: Not found
Black............: Not found
Syntax checker....: Not found (flake8)
Warnings
The Python interpreter could not find the elpy module. Please report
to: https://github.com/jorgenschaefer/elpy/issues/new.
There was an unexpected problem starting the RPC process. Please check
the following output to see if this makes sense to you. To me, it
doesn't.
Traceback (most recent call last):
File "<string>", line 9, in <module>
ModuleNotFoundError: No module named 'distutils'
Metadata
Metadata
Assignees
Labels
No labels