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