9/10/2023 0 Comments Deep learning workstationSo, now the command will be as below $ sudo apt-get install python3-pip If it returns python version 2 (for example python 2.7) then use python2-pip command or if it returns higher version python like python 3.8 then use python3-pip command to install pip. If you are also facing the problem (most likely if using a new computer) then first check the python version with this command. This has to do with the Python version installed in your computer. After scouring the internet for several hours I got the solution. It created a big problem as I was clueless about why it is happening. It says “ Unable to locate package python-pip”. See the below screenshot of my Ubuntu terminal. $ sudo apt-get install python-pip python-dev Run the following command to install python-pip. It is an replacement of the earlier command easy_install. Next which ever packages we are going to install, this pip command will be used. The pip command is for installing and managing Python packages. $ sudo apt-get -assume-yes upgrade Installing the Python-pip command Open the terminal and execute the following lines of code. The keyboard shortcut to open the terminal is “Ctrl+Alt+T”. You have to type the commands in Ubuntu terminal. The following line of commands will complete the process of Linux system up-gradation process. So, we will now proceed with the step by step installation process Updating the Linux system packages
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |