From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#28580: python.el: native completion setup failed Date: Sun, 24 Sep 2017 12:14:23 -0400 Message-ID: <87lgl4m5uo.fsf@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506269725 27560 195.159.176.226 (24 Sep 2017 16:15:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 16:15:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: 28580@debbugs.gnu.org To: =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 18:15:19 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9Yo-0006Uv-EA for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 18:15:14 +0200 Original-Received: from localhost ([::1]:38712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw9Yv-0004uB-Rl for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 12:15:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw9Yi-0004kq-Tu for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:15:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dw9Yc-00010Z-B6 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47583) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dw9Yc-00010U-7N for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dw9Yb-0005BB-Uw for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2017 16:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28580-submit@debbugs.gnu.org id=B28580.150626967219856 (code B ref 28580); Sun, 24 Sep 2017 16:15:01 +0000 Original-Received: (at 28580) by debbugs.gnu.org; 24 Sep 2017 16:14:32 +0000 Original-Received: from localhost ([127.0.0.1]:56261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9Y8-0005AC-38 for submit@debbugs.gnu.org; Sun, 24 Sep 2017 12:14:32 -0400 Original-Received: from mail-io0-f178.google.com ([209.85.223.178]:44614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9Y6-00059z-Ls for 28580@debbugs.gnu.org; Sun, 24 Sep 2017 12:14:30 -0400 Original-Received: by mail-io0-f178.google.com with SMTP id v36so7929410ioi.1 for <28580@debbugs.gnu.org>; Sun, 24 Sep 2017 09:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=yttwY5Q7lBfE8SNfsJ1e908N2JUEsHXWzURZ8bpzetI=; b=YsSgi34JtBIsnrDbzg0U2179JHe+VcbzaQ2FtZ2oSiuvvvrOnQD/YgQ2R2R5sz9n6J 330Wd79np+IUAZEIen5vFJUeNfs0j1cQAE1EG1XJGm5nrwE/XL301rJjCjK9CqjjSypg AR28NyuUt0VccPwHvmi4RL042Etvt705SjfNXWCQLwJb8wcQEN+hVpA8eN0HakLo+tS0 sFlJz6tpSWh89iO5oz/X2/AA8fYvx0qjc8i4v9C1C6lRMrmC0Zk2U4uYQxSRxpcyJ4ja 0tasMAqhlpqR/TCA8Lw4zMKIA0NddFBNu/qFvxQfYaHYA9BhVqfF7ZV03Eqs8lU1NWgW nQDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=yttwY5Q7lBfE8SNfsJ1e908N2JUEsHXWzURZ8bpzetI=; b=XTCicSsGpMvpMY7Z9u2LCDwfJN9DCpvJEgFmRKzHOBXmbmk3a/aMLtRBiR6B7gFs6S k10o0itCMBmXhl7ykA2vHPhOXprfqEyZi/c+croI4y5YJ1MK0yB9MfNa7n/C+/RQqkEF HmEH2Q4sKS/I4UybQ8rX1gcqUT6NHWBSgLYovWpMqLUVN1Aw5Y6v8cU9afSS3A909jF9 ltxdcoS7QsioPh0yGQQfkDzoT2yax13PI9KJuwiMfWj28RBW3yO/jW08oSa1lJd+tdYi mqatSc0CWXBi8X3k5PFjzHcOBBzzrq5PthdflYWTTn7lIyoXY3RAZLmWXQXLVjlDWNvg bRPg== X-Gm-Message-State: AHPjjUhgmwwd8yueN/aGoCQlA0v8XWCyxCnQQIfW5Kekw9W5iAF2z41B wEFL6U1OUcaKKormyhLgZCairg== X-Google-Smtp-Source: AOwi7QDq63XrI+VmFRgOluVLiAAMLkMzM2aj5AT3bK1PTl4MARvbi7N5ycH8qGexQT0wxpYqf+FB/A== X-Received: by 10.107.137.213 with SMTP id t82mr6942479ioi.289.1506269665062; Sun, 24 Sep 2017 09:14:25 -0700 (PDT) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id k133sm2444314itd.0.2017.09.24.09.14.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Sep 2017 09:14:24 -0700 (PDT) In-Reply-To: ("=?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?="'s message of "Sun, 24 Sep 2017 18:56:32 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137344 Archived-At: =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 =D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE= =D0=BD=D0=BE=D0=B2 writes: > Hello! > > I'm on Windows, using Python3 from Anaconda distrib. I've set option > =C2=A0'(python-shell-interpreter "py") > > When doing > M-x run-python > I get > Warning (python): Your =E2=80=98python-shell-interpreter=E2=80=99 doesn= =E2=80=99t seem to > support readline, yet =E2=80=98python-shell-completion-native-enable=E2= =80=99 was t > and "py" is not part of the > =E2=80=98python-shell-completion-native-disabled-interpreters=E2=80=99 li= st.=C2=A0 Native > completions have been disabled locally.=C2=A0 > > 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.