1 |
On 2018-07-10 11:19, Alexander Kapshuk wrote: |
2 |
> On Tue, Jul 10, 2018 at 11:23 AM <pat@××××××××.org> wrote: |
3 |
>> |
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 |
> How about this? |
18 |
> echo alias python='python2.7' >> ~user/.bash_profile |
19 |
> |
20 |
|
21 |
Well, this one doesn't work in case at the beginning of the python |
22 |
script is: |
23 |
#!/usr/bin/env python |
24 |
|
25 |
I have a "lot of scripts" with this. What I've thought there will be |
26 |
possibility to setup python version per user similar as for gcc (I |
27 |
think). |
28 |
|
29 |
Thanks for help |
30 |
|
31 |
Pat |
32 |
|
33 |
---------------------------------------- |
34 |
Freehosting PIPNI - http://www.pipni.cz/ |