![]() ![]() # code object from ‘/usr/lib/python3. # /usr/lib/python3.5/_pycache_/ matches /usr/lib/python3.5/rlcompleter.py # extension module ‘readline’ executed from ‘/usr/lib/python3.5/lib-dynload/readline.cpython-35m-x86_64-linux-gnu.so’ # extension module ‘readline’ loaded from ‘/usr/lib/python3.5/lib-dynload/readline.cpython-35m-x86_64-linux-gnu.so’ Type “help”, “copyright”, “credits” or “license” for more information. # code object from ‘/usr/lib/python3/dist-packages/_pycache_/apport_python_’ # /usr/lib/python3/dist-packages/_pycache_/apport_python_ matches /usr/lib/python3/dist-packages/apport_python_hook.py # code object from ‘/usr/lib/python3.5/_pycache_/’ # /usr/lib/python3.5/_pycache_/ matches /usr/lib/python3.5/sitecustomize.py # code object from ‘/usr/lib/python3.5/plat-x86_64-linux-gnu/_pycache_/_sysconfigdata_m.cpython-35.pyc’ # /usr/lib/python3.5/plat-x86_64-linux-gnu/_pycache_/_sysconfigdata_m.cpython-35.pyc matches /usr/lib/python3.5/plat-x86_64-linux-gnu/_sysconfigdata_m.py # code object from ‘/usr/lib/python3.5/_pycache_/_’ # /usr/lib/python3.5/_pycache_/_ matches /usr/lib/python3.5/_sysconfigdata.py # /usr/lib/python3.5/_pycache_/ matches /usr/lib/python3.5/sysconfig.py ![]() # /usr/lib/python3.5/_pycache_/_ matches /usr/lib/python3.5/_sitebuiltins.py # code object from ‘/usr/lib/python3.5/_pycache_/_collections_’ # /usr/lib/python3.5/_pycache_/_collections_ matches /usr/lib/python3.5/_collections_abc.py Hello sir,thanks for the post.However after following all the steps including the update step,i am getting below error for command python3 -v ![]() UPDATE: due to this bug, gnome-terminal won’t launch after step 3, a workaround is running following commands to recreate the symlink: sudo rm /usr/bin/python3 Python Installation on UBUNTU & Linux Installation of Python2.7.15 Python Installations: Download Python 2.7.15 Compile and Install the source code: Note. Sudo update-alternatives -install /usr/bin/python3 python3 /usr/bin/python3.6 2įinally switch between the two python versions for python3 via command: sudo update-alternatives -config python3 To make python3 use the new installed python 3.6 instead of the default 3.5 release, run following 2 commands: sudo update-alternatives -install /usr/bin/python3 python3 /usr/bin/python3.5 1 Now you have three Python versions, use python command for version 2.7, python3 for version 3.5, and/or python3.6 for version 3.6.1.ģ. Then check updates and install Python 3.6 via commands: sudo apt-get update Type in your password (no visual feedback due to security reason) when it asks and hit Enter.Ģ. When it opens, run command to add the PPA: sudo add-apt-repository ppa:jonathonf/python-3.6 Open terminal via Ctrl+Alt+T or searching for “Terminal” from app launcher. You can install Python 3.6 along with them via a third-party PPA by doing following steps:ġ. Ubuntu 16.04 comes with both Python 2.7 and Python 3.5 by default. This quick tutorial is going to show you how to install the latest Python 3.6.1 in Ubuntu 16.04 LTS via PPA. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |