Changes

Jump to navigation Jump to search

Multiple Python versions

188 bytes added, 18:50, 21 October 2020
m
=== Modifying the sources ===
The first is to edit the first line of this script to point to the correct Python version. For example if the Python you wish to use is installed in the /usr/local/bin/ directory, you could change this script to:<source lang="bash">
<source lang="bash">
#! /usr/local/bin/python
</source>
This will force the correct version. Note that if you are using MS Windows you will need to modify the '''relax.bat''' file instead, adding the full Python path to the '''python''' command in that batch file.
=== Pointing to the correct version ===
alias relax /usr/local/bin/python ~/bin/relax
</source>
 
 
= See also =
 
[[Category:Python]]
Trusted, Bureaucrats
4,228

edits

Navigation menu