The Wayback Machine - https://web.archive.org/web/20240713182944/https://www.geeksforgeeks.org/how-to-install-python-pmw-package-on-ubuntu/
Open In App

How to Install Python-pmw package on Ubuntu?

Last Updated : 31 Jan, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Pmw is a toolkit for building high-level compound widgets, or mega widgets, constructed using other widgets as component parts. It promotes a consistent look and feel within and between graphical applications, is highly configurable to your needs, and is easy to use. In this article, we will be looking at the stepwise procedure to install the Python-Pmw for Python in Linux. 

Installing Python-Pmw for Python on Linux

Follow the below steps to install Python Python-Pmw in Linux:

Step 1: Check if Python is installed or not on your system. Here, we run the below command in the terminal of the Linux to check if the Python is already installed in the system or not. In case Python is already installed on your system then the output will be the current version of Python and if it is not installed it will throw an error. For installing python in your system, refer to How to Install Python.

python3.9 –version

Checking-if-Python-is-installed-or-not

Step 2: This step is to update the Linux used by the user to get the latest version so that it can make the process much faster and the system updates will make the installing easily without facing any issue.

sudo apt-get update

Update-the-Linux

Step 3: Install the Python-Pmw. Here, it is the final step to install the Python-Pmw in python just the user needs to type the below-mentioned command in the working Linux terminal and the Python-Pmw will be successfully installed in the system.

sudo pip3 install pmw

or 

sudo apt-get install python-pmw

Install-the-Python-Pmw

Verifying Python-Pmw installation on Linux

For ensuring the installation of Python-Pmw on our system, we can use the following import command in the Python terminal. If there is an error while importing the module then it means it is not installed properly.

import Pmw

Verifying-Python-Pmw-installation



Similar Reads

How to Install py-pmw on MacOS?
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
2 min read
How to Install Python chardet package on Ubuntu?
Chardet is the python module that is mainly used to detect the character encoding in a text file. Or we can say that this module is used to take a sequence of bytes in unknown characters encoding and try to find the encoding so the user can read the text. In this article, we will be looking at the stepwise procedure to install the python-chardet fo
2 min read
How to Install PyQuery package on Ubuntu?
Pyquery is a Python library that has quite a similar API to jQuery. It uses lxml module for fast XML and HTML manipulation experience. The API is as large as possible comparable to jQuery. Pyquery is processed on the server-side, unlike jquery which is processed in the browser. We can crawl the web information through this library very easily. Requ
2 min read
How to Install and Configure Synaptic Package Manager in Ubuntu?
Synaptic Package Manager is a GUI based package management tool that uses APT (Advanced Package Tool) to installing, updating or removing packages from the Linux system. Some of the feature given by Synaptic Package Manager are: Allow installing, updating or removing packagesUpgrading whole systemSearching and filtering the list of packages availab
1 min read
How to Install tix package in Ubuntu?
Tix is also known as Tk Interface Extension. It is a python module that provides an extra rich set of widgets to TkInter. Although the standard Tk library contains different types of useful widgets and Tix library adds on the missing important widgets to the standard Tk library. It adds 40+ widget classes to the Tkinter repertoire. Using these new
2 min read
How to Install "golang-gopkg-mgo.v2-dev" Package on Ubuntu?
mgo is a MongoDB driver for the Go language that implements a rich and well-tested selection of features under a very simple API following standard Go idioms. mgo ha0.s long gone unmaintained and does not support new features of new versions of MongoDB. Anyways, let's learn how to install it on Ubuntu. Installation of "golang-gopkg-mgo.v2-dev" Pack
1 min read
How to Install apt-listchanges package on Ubuntu?
Upon collecting the appropriate items from the Debian changelog and NEWS files, the utility apt-listchanges may compare a new version of a package with the one presently installed and display what has changed. It may be run on multiple.deb archives at once to get a list of all changes that would result from installing or updating a set of packages.
3 min read
How To Install apt-offline package on Ubuntu?
Apt-offline adds offline package management features to Debian-based systems. It may be used to download packages and dependencies that will be installed later (or necessary to update) in a disconnected system. Packages can be downloaded from another connected PC. It may also get bug reports for the downloaded packages. Apt-offline is an Offline AP
3 min read
How to Install apport-gtk package on Ubuntu?
Apport automatically gathers data from crashed processes and stores it in /var/crash/ as a bug report. This is a command-line interface for reporting crashes to developers. It may also be used to report issues in running packages or processes. If symptom scripts are available, they may also be invoked with the name of a symptom or simply -f to disp
4 min read
How To Install apt-mirror package on Ubuntu?
This is a tiny utility that allows you to mirror any (or all) of the Debian and Ubuntu GNU/Linux distributions, as well as any other apt sources generally offered by open source developers. This tutorial will walk you through the process of setting up repository mirrors for Ubuntu 20.04 and Ubuntu 18.04. The same procedure applies to each previous
2 min read