Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

remove python ubuntu

sudo apt-get -y purge python3.8
sudo apt-get -y autoremove
Comment

ubuntu remove python 2.7

# Remove python2
sudo apt purge -y python2.7-minimal

# You already have Python3 but 
# don't care about the version 
sudo ln -s /usr/bin/python3 /usr/bin/python

# Same for pip
sudo apt install -y python3-pip
sudo ln -s /usr/bin/pip3 /usr/bin/pip

# Confirm the new version of Python: 3
python --version
Comment

PREVIOUS NEXT
Code Example
Python :: python get output of command to variable 
Python :: datetime has no attribute now 
Python :: django flash message 
Python :: matplotlib bar chart from dictionary 
Python :: check 32 or 64 bit python 
Python :: webhook discord files 
Python :: python everything after last slash 
Python :: Extract images from html page based on src attribute using beatutiful soup 
Python :: dataframe memory usage 
Python :: export image png python 
Python :: list files in s3 folder python 
Python :: how to fillna in all columns with their mean values 
Python :: export dataframe to csv python 
Python :: min max scaler sklearn 
Python :: how to split and keep delimiter at the same line in python 
Python :: numpy array to torch tensor 
Python :: python how to save a Seaborn plot into a file 
Python :: intall python3 in linux 
Python :: selenium find button by text 
Python :: how to create a list from csv python 
Python :: numpy find rows containing nan 
Python :: return count of unique values pandas 
Python :: python generate dates between two dates 
Python :: how i install jupyter notebook in a new conda virtual environment 
Python :: dataframe column contains string 
Python :: save list pickle 
Python :: popups in tkinter 
Python :: setwd python 
Python :: stopwatch in python 
Python :: python app to deb 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =