From: | Helmut Jarausch <jarausch@××××××.be> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] how to set python version for one user | ||
Date: | Tue, 10 Jul 2018 09:22:33 | ||
Message-Id: | A5FAGBKV.4RRTA5LV.L56HACUC@LUXPUMSX.GWBF46KJ.2AIQZWU3 | ||
In Reply to: | [gentoo-user] how to set python version for one user by pat@xvalheru.org |
1 | On 07/10/2018 10:23:05 AM, pat@××××××××.org wrote: |
2 | > Hi, |
3 | > |
4 | > I need to set specific python version to a user and I don't want to |
5 | > set |
6 | > it up for whole system. Is it possible? If so how to do it. All I |
7 | > found |
8 | > is about setting for whole system. |
9 | > |
10 | > Thanks |
11 | > |
12 | > Pat |
13 | > |
14 | |
15 | A simple method would be to set up the PATH for this user to prepend a |
16 | local folder, |
17 | .e.g $HOME/bin |
18 | |
19 | Then copy (or symlink) the desired Python version from /usr/bin to that |
20 | folder under |
21 | a different name (i.e. without the (full) version number) |
22 | |
23 | Helmut |
Subject | Author |
---|---|
Re: [gentoo-user] how to set python version for one user | pat@××××××××.org |