Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

change py version in colab

# Choose one of the given alternatives:
!sudo update-alternatives --config python3

# This one used to work but now NOT(for me)!
# !sudo update-alternatives --config python

# Check the result
!python3 --version

# Attention: Install pip (... needed!)
!sudo apt install python3-pip
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #py #version #colab
ADD COMMENT
Topic
Name
7+5 =