On 2018-07-10 11:19, Alexander Kapshuk wrote:
On Tue, Jul 10, 2018 at 11:23 AM <p...@xvalheru.org> wrote:
Hi,
I need to set specific python version to a user and I don't want to
set
it up for whole system. Is it possible? If so how to do it. All I
found
is about setting for whole system.
Thanks
Pat
How about this?
echo alias python='python2.7' >> ~user/.bash_profile
Well, this one doesn't work in case at the beginning of the python
script is:
#!/usr/bin/env python
I have a "lot of scripts" with this. What I've thought there will be
possibility to setup python version per user similar as for gcc (I
think).
Thanks for help
Pat
----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/