You can read the article How To Install The Latest PIP Version And Ipykernel For Python 2.7 to learn how to install pip2 for Python 2.7.After that, you can run the command python2 –version to check whether python2 has been installed successfully or not.Libpython2.7-stdlib python2 python2-minimal python2.7Ġ upgraded, 7 newly installed, 0 to remove and 168 not upgraded.Īfter this operation, 16.5 MB of additional disk space will be used. The following NEW packages will be installed: Python2-doc python-tk python2.7-doc binfmt-support Libpython2.7-stdlib python2-minimal python2.7 The following additional packages will be installed: Run the command sudo apt install python2 to install python2 on Ubuntu.Run the command sudo apt update to update the apt packages.Ģ03 packages can be upgraded. 'universe' distribution component is already enabled for all sources.
0 Comments
Leave a Reply. |