How to Install py-pmw on MacOS?
Last Updated :
05 Jan, 2022
Pmw is a toolkit and used for creating high-level compound widgets, also known as mega widgets, that are made up of other widgets. It supports a consistent appearance and feels across graphical apps, is highly adaptable to your needs, and is simple to use. It includes some base classes and libraries that are used to create mega widgets and the mega widgets consist, scrolled widgets, selection widgets, notebooks, comboboxes, etc. In this article, we will learn how to install py-pmw in Python on macOS.
Installing py-pmw on MacOS
Method: Using pip to install py-pmw Package
Follow the below steps to install the py-pmw package on macOS using pip:
Step 1: Install the latest version of Python3 in MacOS.
Step 2: Now check that pip3 and python3 are correctly installed in your system using the following commands.
python3 –version
pip3 –version
Step 3: Upgrade pip to avoid errors during installation using the following command.
pip3 install –upgrade pip
Step 4: To install the pmw using the pip3 enter the following command.
pip3 install pmw
So this is how we install pmw in the macOS.
Verifying pmw installation on macOS
Using the following command in your python terminal we ensure that the pmw install properly or not in the macOS. If there is any error while importing the module then it means it is not installed properly.
import Pmw
Share your thoughts in the comments
Please Login to comment...