RE: Python 3.8.2 - Macports configuration problem

2020-05-02 Thread Leandro neto
orts-users@lists.macports.orgAssunto: Re: Python 3.8.2 - Macports configuration problem> On May 1, 2020, at 8:14 AM, Christopher Jones jon...@hep.phy.cam.ac.uk> wrote:As an end user you should not use pip, any version of it, to install packages directly into the MacPorts prefix. period.As previousl

Re: Python 3.8.2 - Macports configuration problem

2020-05-01 Thread Noam Bernstein via macports-users
> On May 1, 2020, at 8:14 AM, Christopher Jones > wrote: > > As an end user you should not use pip, any version of it, to install packages > directly into the MacPorts prefix. period. > > As previously noted, you can though use it for instance inside a virtual env. > that is just fine. > >

Re: Python 3.8.2 - Macports configuration problem

2020-05-01 Thread Max Anglad
> On 1 May 2020 at 10:28, Christopher Jones wrote : > >> On 1 May 2020, at 9:17 am, Dr M J Carter >> wrote: >> >> On Thu, Apr 30, 2020 at 11:13:45PM +0200, Max Anglad wrote: >> >>> Note that pip (python package installer) must apparently be used via >>> sudo if you want the packages to be

Re: Python 3.8.2 - Macports configuration problem

2020-05-01 Thread Dr M J Carter
On Thu, Apr 30, 2020 at 11:13:45PM +0200, Max Anglad wrote: > Note that pip (python package installer) must apparently be used via > sudo if you want the packages to be installed in the right place > (/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages)

Re: Python 3.8.2 - Macports configuration problem

2020-04-30 Thread Max Anglad
I finally managed to use Python correctly from Macports I first deleted the installation performed by the installer of python.org : - /Library/Frameworks/Python.framework (Thanks Chris Jones and Ryan Schmidt for the reference to the Macports FAQ) - /Application/Python 3.8 - links that was no

Re: Python 3.8.2 - Macports configuration problem

2020-04-29 Thread Max Anglad
Okay, I finally have the explanation of this double installation (see https://docs.python.org/3/using/mac.html) It must certainly come from a direct installation that I had done since https://www.python.org/ but I did not remember it anymore... I do so many things :-/ It remains to be seen

Re: Python 3.8.2 - Macports configuration problem

2020-04-29 Thread Ryan Schmidt
On Apr 28, 2020, at 21:13, Chris Jones wrote: > Remove > > /Library/Frameworks/Python.framework/Versions/3.8/bin > > From your PATH. That is not a version of python installed by macports, but is > something else you must have installed at some point. Not only should you remove that path

Re: Python 3.8.2 - Macports configuration problem

2020-04-28 Thread Max Anglad
I forgot to say that after Macports python38 installation, following the notes, I made : > sudo port select --set python3 python38 Selecting 'python38' for 'python3' succeeded. 'python38' is now active. But however I think the PATH must be changed...

Re: Python 3.8.2 - Macports configuration problem

2020-04-28 Thread Lenore Horner
(See end.) > On Apr 28, 2020, at 20:17, Max Anglad wrote: > > Hello, > > Still under El Capitan (OS 10.11) my native Python is in version 2.7 > > Since I have been using MacPorts for several years (but I am not an expert) I > thought it would be easy to install the latest version of Python

Python 3.8.2 - Macports configuration problem

2020-04-28 Thread Max Anglad
Hello, Still under El Capitan (OS 10.11) my native Python is in version 2.7 Since I have been using MacPorts for several years (but I am not an expert) I thought it would be easy to install the latest version of Python (3.8.2) through this channel. I have programmed in C and C++ for several