Forrest logo
back to the pip3 tool

pip3:tldr:20853

pip3: Install a specific version of a package.
$ pip3 install ${package_name}==${package_version}
try on your machine

The command "pip3 install ${package_name}==${package_version}" is used to install a Python package using the pip package manager. Here's an explanation of each part:

  • "pip3" is the command-line program that is used to interact with the pip package manager. It is typically used for installing and managing Python packages.

  • "install" is the command used to tell pip to install a package.

  • "${package_name}" is a placeholder for the name of the package that you want to install. You would replace "${package_name}" with the actual name of the package you want to install. For example, if you want to install the requests package, you would replace "${package_name}" with "requests".

  • "==" is used to specify a particular version of the package. It is followed by "${package_version}", which is a placeholder for the version number you want to install. You would replace "${package_version}" with the actual version number you want to install. For example, if you want to install version 2.25.1 of the requests package, you would replace "${package_version}" with "2.25.1".

By running this command with the appropriate package name and version, you can install a specific version of a Python package.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pip3 tool