What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-11 16:40:07
sudo apt-get install python3.5
UPDATE Thanks to Don Kirkby who highlight that there is a new recommended PPA. The updated one is ppa:deadsnakes/ppa, so the complete command is the following: sudo add-apt-repository ppa:deadsnakes/ppa If you are using Ubuntu, you can install it adding... Add solution -
Shell/Bash 2021-11-03 09:25:16
Python3 pip3 install broken on Ubuntu Ask Question
sudo apt purge python3-pip sudo rm -rf '/usr/lib/python3/dist-packages/pip' sudo apt install python3-pip cd cd .local/lib/python3/site-packages sudo rm -rf pip* cd cd .local/lib/python3.5/site-packages sudo rm -rf pip* python3 -m pip install --... Add solution -
Shell/Bash 2021-10-27 20:16:13
Unable to start terminal in ubuntu
#normally caused by python conflicts $ sudo nano /usr/bin/gnome-terminal #add correct version of python to the first line i.e change #!/usr/bin/python3 #to #!/usr/bin/python3.5 Nb: dnt use python3.6 in ubuntu 16(it breaks the default terminal) Add solution -
Python 2021-09-23 11:01:02
AttributeError: 'module' object has no attribute 'lru_cache'
import os, sys sys.path.append('/home/santosh/Documents/project/Reports/Reports') sys.path.append('/home/santosh/Documents/project/Reports') sys.path.append('/home/santosh/Documents/project/project/lib/python3.5/site-packages') sys.path.append('/home/... Add solution