GNU bug report logs -
#28580
[w32] python.el: native completion setup failed
Previous Next
Reported by: Андрей Парамонов <cmr.pent <at> gmail.com>
Date: Sun, 24 Sep 2017 15:58:02 UTC
Severity: normal
Tags: fixed, patch
Merged with 22897,
24401,
30651
Found in versions 25.1, 25.1.50
Fixed in version 25.2
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Андрей Парамонов <cmr.pent <at> gmail.com> writes:
> Hello!
>
> I'm on Windows, using Python3 from Anaconda distrib. I've set option
> '(python-shell-interpreter "py")
>
> When doing
> M-x run-python
> I get
> Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to
> support readline, yet ‘python-shell-completion-native-enable’ was t
> and "py" is not part of the
> ‘python-shell-completion-native-disabled-interpreters’ list. Native
> completions have been disabled locally.
>
> Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017,
> 13:25:24) [MSC v.1900 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more
> information.
>>>> python.el: native completion setup failed
>>>>
>
> It is expected that Python completion works out-of-the-box, without
> warnings.
Seems to be impossible, unfortunately. Does this commentary from
python.el help?
;; If your Python installation lacks readline (like CPython for
;; Windows), installing pyreadline (URL
;; `http://ipython.org/pyreadline.html') should suffice. To
;; troubleshoot why you are not getting any completions, you can try the
;; following in your Python shell:
;; >>> import readline, rlcompleter
;; If you see an error, then you need to either install pyreadline or
;; setup custom code that avoids that dependency.
This bug report was last modified 7 years and 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.