To use easy_install you need to install setuptools. Install python3 $ sudo apt-get install python3 python3-dev Sudo apt-get update sudo apt-get install build-essential libpq-dev libssl-dev openssl libffi-dev zlib1g-dev sudo apt-get install python3-pip python3.7-dev sudo apt-get install python3.Sudo apt-get install build-essential python-dev libsqlite3-dev libreadline6-dev libgdbm-dev zlib1g-dev libbz2-dev sqlite3 zip In case you would like to upgrade or update your current Python on Ubuntu, run the commands below on your terminal (example below applies to an upgrade to Python 3.7) : See example below with the package idna :īonus section: How to upgrade Python on Ubuntu To obtain more details about a given package, simply run the command : To see the outdated packages, run the command (it may take some time since it needs to remotely compare the current versions with the latest ones ): To look up a specific package, run the command: sudo pip3 search SearchCriteria To see the list of all Pip packages that are installed, run the command:sudo pip3 list Package search Read: How to install and uninstall applications on Ubuntu, A Beginner’s guide PIP Packages listing To uninstall a package, invoke the command below: Pip can also upgrade a software package to the most recent version using the command:įor instance, we want to upgrade the package idna : The installation of the latest version of a given software package can be achieved by running the command below : In the section below, you will learn some commands on how to use PIP. In order to obtain the latest version of pip, simply issue the command below: Once the installation is completed, you may want to check the version of PIP by invoking the command: Read: How to Install TensorFlow on Ubuntu 22.04 In order to install pip, run the commands below: While Python 3 is installed by default on Ubuntu 18.04 or Ubuntu 20.04 and similar distributions, PIP is not. In this short tutorial, you will learn how to install pip on Ubuntu 18.04 or 20.04. PIP is a utility that manages software packages such as libraries and dependencies for the development modules of Python.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |