Open In App

How to Install wxPython on Linux?

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

wxPython is a Python module. It is an open-source module that allows its users to create a highly functional, cross-platform graphical user interface (GUI). It is a set of extension modules that wrap the GUI components of the wxPython library. In this article, we will look into the process of installing the wxpython module on the Linux Operating System.

Requirements:

Installing wxPython package on Linux using PIP

To install the wxPython package in Linux we have to follow the following steps:

Step 1: First of all, we will install Python3 on our Linux system with the help of the following command:

sudo apt-get install python3

 Installing-Python3-on-Linux-system

Step 2: Now, we install the pip module which is required to install and manage the packages in Python3 with the help of the following command:

sudo apt install python3-pip

Installing-the-pip-module

Step 3: Now, install the wxPython package by using the following command:

sudo pip3 install wxpython

 Installing-the-wxPython-package

Verifying wxPython package installation on Linux using PIP

To verify if the wxPython package has been successfully installed in your system run the below command in Terminal:

python3 -m pip show wxpython

You’ll get the below message if the installation is complete:

Verifying-wxPython-package-installation


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads