From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QBYiBcaMj2ELyQAAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 11:00:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4InWAMaMj2GtMgAAB5/wlQ (envelope-from ) for ; Sat, 13 Nov 2021 10:00:38 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9217228B11 for ; Sat, 13 Nov 2021 11:00:36 +0100 (CET) Received: from localhost ([::1]:49160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlppr-00025j-6l for larch@yhetil.org; Sat, 13 Nov 2021 05:00:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlpp1-00025Z-4o for emacs-orgmode@gnu.org; Sat, 13 Nov 2021 04:59:43 -0500 Received: from [2607:f8b0:4864:20::b29] (port=33354 helo=mail-yb1-xb29.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlpoy-0002Lb-Pz for emacs-orgmode@gnu.org; Sat, 13 Nov 2021 04:59:42 -0500 Received: by mail-yb1-xb29.google.com with SMTP id v7so30643936ybq.0 for ; Sat, 13 Nov 2021 01:59:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VhlZrmEoztgAibBwMiSUaW9RgEX6k3wydwcRp3C7H08=; b=BWWdItYdHhe34hVCS9V7mYooW6PjVaXB/a5hYg0Ya/GuKRTBHW4QNPdjh+zgz+c85p HFopxkwKKeWtk34v5B0zO17LZIbP+ptR3Ku1cP6k96StkPaS/tF/fz4c1urQEayLFQJI 4t4gxdDzFLcQHbTHQFZaxgaqJuMDimhIXSl0JBOcoPcxeHBU3zV4gi2phaA+sBecLYcb QlxiitVDZ/NLDprRQNqOtlNechdSdpLrz3xICI5Dyu+DkZrvnRVNe2VJZ4v5Z1d7wkXa 9v6LhtXX4C/TAiLPSfTXX709eGlqYPDI7/Cvaav1tZo/59mGT/nXzSNxwf3dVxZquMpm 4pWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VhlZrmEoztgAibBwMiSUaW9RgEX6k3wydwcRp3C7H08=; b=VuzmQ6zCMc7Jd/mA7MTjZhFc5ZoBoXjZUyDMo4iJINdxv2tBMTluSSOIEI72tvZ6ve JLtzN5csBO62KuKhDyGEMMIlU7HcoEUFB+4+MGuDgf/+ywHLRpL+VCGl/H3c+iEESOy2 aa/bHNuUTA2GVdB4OHY+SC6+VTBzbQ4XmpobzQtCRLQM0bqIicv+hxiBTCgpLuu2/R5b 0bv5GM7aERaHxfe7X8eRhc+XL1I0jJ4iAWIxPs3xbi9yN8WFzR2aA1WZJOv5eWHrx0+R gUDL5vx7ywnjNP/wgPs4SnbcwRLnpBvmDhbfbcVGKbTdf4zTbkzTP+kAlOXPJgHNY7an h8Wg== X-Gm-Message-State: AOAM530AXrHqDjWOAwl9YikvEwPzGzk88NHLCOrmrhB06pNf8hp/F0V+ R4vFRDe8LVXeHhkwvmCgfI0f5mNoxwXIBkjs9B0= X-Google-Smtp-Source: ABdhPJyZI8Bj0ilPsn7/ejuh+QcpUxAjwHm9FCnny/F4Z/VK7Tpn6J1ZDSqjyo66334u99Ypr1LUkn2K142M6eEMUvY= X-Received: by 2002:a25:2649:: with SMTP id m70mr26951323ybm.21.1636797579180; Sat, 13 Nov 2021 01:59:39 -0800 (PST) MIME-Version: 1.0 References: <878rxtkolr.fsf@mat.ucm.es> <875yswn5zj.fsf@gmail.com> In-Reply-To: <875yswn5zj.fsf@gmail.com> From: =?UTF-8?B?TWFydGluIFNjaMO2w7Zu?= Date: Sat, 13 Nov 2021 10:59:28 +0100 Message-ID: Subject: Re: after installing python3.6 on Ubuntu 16.04, org files open with errors To: Tim Cross Content-Type: multipart/alternative; boundary="00000000000046bdb705d0a8a2ed" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b29 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b29; envelope-from=martin.schoon@gmail.com; helo=mail-yb1-xb29.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode Mailinglist Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636797636; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VhlZrmEoztgAibBwMiSUaW9RgEX6k3wydwcRp3C7H08=; b=AERdBnALDcpnpLwtf1GsDphPPOGPD2xMdJJhUAqTXykCS8nq/YRY7nSxCYe6agENKxfr82 iOChzlmjwRZbVF2VZgALrcNK1J2hugURG0IXdF7RjcFl7dLR+oBV0TXkEQKDgcvwgZoJgx crjlsvqIcuYFvq//N7ERce2O08Gt0TkhqUTa1++6rFfWQrEEaXdTCXNyvRppdEf5iNFyc3 GI13xZ5sLUkTFRipe/7aEjfbpWahMjMs6H5h5+Te+GhvdB+zUQ6kxUSbdBu9O/MjX1hMPS eyIk9IIS42bMHtvwLKeRobbKX5X0XfKQBhSaWcsl/FxNJmmUnE9x+mf7Xkgrqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636797636; a=rsa-sha256; cv=none; b=Se7NkfGi8odnXMp6Q6Y9WrRi5FEnEdIwy7b8OpX3Dq42ADB3m8VZuuQ0cO1185yXOeZiZA wXLckJNBVuUcAK7v6ZDxNRFLhbU5e0LIo4fCuxoA7ZG6vLghkq11g0HD1OhJfaCA9GVVr4 Jb7HcUobsNJ+0yGbZbDEX4/tE1cfVpokQ32viWaCoGP1kXGrpmq920MBcrmoKqMYU8ydtz 54BOyKoe1YBQ3U+1wBxBPSdf/MNk6rxVI8fx0mlIoVynWAjY4XduFFeM8qD2ETAoxgJHa6 s99UYF4UY1WfkjYJ+KTxh+EW1u42b5n4uuUhXDrW8YuWC1N5yiTeq8o0F4nu7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BWWdItYd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BWWdItYd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9217228B11 X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: yiUJ/R0Kop6M --00000000000046bdb705d0a8a2ed Content-Type: text/plain; charset="UTF-8" I learned the hard way not to mix distro installed Python with pip installed Python. I now always use "pip install --user " to keep things sane. /Martin On Sat, 13 Nov 2021 at 03:29, Tim Cross wrote: > > Uwe Brauer writes: > > > Hi > > > > I am running Ubuntu 16.04 and I installed python3.6 (which is not > > officially supported for that Ubuntu version via > > > https://askubuntu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get > > > > I also installed > > > > sudo -H python3.6 -m pip install jupyter > > sudo -H python3.6 -m pip install pexpect > > sudo -H python3.6 -m pip install matlab_kernel > > > > > > Now however I cannot open even simple org files, I obtain errors I attach > > and most of my keybinding and other things do not work. > > > > Any help is strongly appreciated. > > > > Regards > > > > The whole transition from v2.x to v3.x for python has been a terrible > mess. Version issues are the most frustrating aspect of Python and one > reason I've never embraced the language. > > Given that Ubuntu 16.04 was end of life in April 2021, my recommendation > would be to upgrade to ubuntu 21.04. That version seems to have a more > consistent Python environment (based on v3). It also has newer ciaro, > hafbuzz and other libs used by Emacs which will likely work better and > once Emacs 28.0 is released, will have the gccjit libs necessary for > native comp etc. --00000000000046bdb705d0a8a2ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I learned the hard way not to mix di= stro installed Python with pip installed Python. I now always use "pip= install --user
=C2=A0<some package>" to keep thin= gs sane.

/Martin

On Sat, 13 Nov 2021 at 0= 3:29, Tim Cross <theophilusx@gm= ail.com> wrote:

Uwe Brauer <oub@mat.= ucm.es> writes:

> Hi
>
> I am running Ubuntu 16.04 and I installed python3.6 (which is not
> officially supported for that Ubuntu version via
> https://askubun= tu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get
>
> I also installed
>
> sudo -H python3.6 -m pip install jupyter
> sudo -H python3.6 -m pip install pexpect
> sudo -H python3.6 -m pip install matlab_kernel
>
>
> Now however I cannot open even simple org files, I obtain errors I att= ach
> and most of my keybinding and other things do not work.
>
> Any help is strongly appreciated.
>
> Regards
>

The whole transition from v2.x to v3.x for python has been a terrible
mess. Version issues are the most frustrating aspect of Python and one
reason I've never embraced the language.

Given that Ubuntu 16.04 was end of life in April 2021, my recommendation would be to upgrade to ubuntu 21.04. That version seems to have a more
consistent Python environment (based on v3). It also has newer ciaro,
hafbuzz and other libs used by Emacs which will likely work better and
once Emacs 28.0 is released, will have the gccjit libs necessary for
native comp etc.
--00000000000046bdb705d0a8a2ed--