Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

link python3 to python3.7

Damn, Python is used throughout much of Ubuntu for system scripts and software,
and software relies on having Python (and the commands to start Python)
in a certain spot. do back then.

rm /usr/bin/python3 
ln -s /usr/bin/python3.7 /usr/bin/python3 

# create alias in ~/.bash_aliases

alias python3='/usr/bin/python3.7' 
Scripts can then start with something like:

#!/usr/bin/env python3 
Comment

PREVIOUS NEXT
Code Example
Python :: python nCr n choose r function 
Python :: Renaming row value in pandas 
Python :: Change date format on django templates 
Python :: pygame font 
Python :: py current date 
Python :: django serializer exclude fields 
Python :: python random dictionary 
Python :: django and react url conflict 
Python :: square (n) sum 
Python :: python loop every month datetime 
Python :: typage in python 
Python :: get desktop location python 
Python :: python decimal number into 8 bit binary 
Python :: find position of nan pandas 
Python :: reading a csv file in python 
Python :: flatten a list of list python 
Python :: is string python 
Python :: how to replace null values in pandas 
Python :: pandas to_csv delimiter 
Python :: Python Enemy NPC CLass 
Python :: SerialClient.py", line 41, in <module import queue ImportError: No module named queue 
Python :: python concat list to sql query string 
Python :: upgrade python to 3.9 i linux 
Python :: drop first column pandas 
Python :: multiple loss pytorch 
Python :: get most repeated instance in a queryset django 
Python :: fizzbuzz python 
Python :: string list into list pandas 
Python :: django logout 
Python :: qlineedit autocomplete python 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =