Gentoo Archives: gentoo-user

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

Replies