How to install functools32 in Python
The functools32 is a backport of the functools module of Python3.2.3 for use on Python2.7 and PyPy. In this section, we will learn how to install the functools32 package in Python on various platforms.
We will install the functools32 module by using the Python package manager(pip
) for this tutorial. The pip
package manager is used for installing and managing additional packages that do include in the Python standard library.
Note: We can only install the functools32 package on the Python2.7 version, otherwise it will generate an error for Python3.
Installing functools32 in Python for Windows
Step1: Open the CMD or PowerShell console on the screen.
Step2: Install the functools32 package by using the pip
package manager.
pip install functools32
Done!! The functools32 package has been successfully installed on Windows.
Alternative Method To Install functools32 In Python For Windows
If we get any error or are unable to install the module via pip
package manager, then we can install the functools32 package manually on Windows.
Step1: Download the functools32 package from the official website. (https://pypi.org/project/functools32/)
Step2: Click on the Download Files and download the functools32 package by clicking on the functools32.x.x.x.tar.gz link. (Where x.x.x is refereed to the package version number)
Step3: Now navigate to the Downloads folder and extract the functools32 TAR file.
Note: Extract the package in the Python folder which is located at C:\ drive.
Step4: Open the CMD console and change the directory by setting the path to the extracted functools32 package file.
Step5: Lastly, execute the setup file present inside the functools32 package file for package installation.
> python setup.py install
Install functools32 in Python For Linux
We can also install the functools32 package on Linux as same as we installed on Windows. Here we will also use the pip
the package manager for the installation of the package.
Step1: By pressing Ctrl+Alt+T to open the Linux terminal.
Step2: Now, use the pip
command for the installation of the functools32 package.
$ sudo pip install functools32
Done!! We have successfully installed the functools32 package on the Linux system.
Hope you learned how to install the functools32 package in Python for different systems from this article.
Happy Learning!!!
You can also read, How to install openpyxl in Python
Leave a Reply