How to Install wxPython on Windows?
Python provides wxpython module which is an open-source module that allows us to create a high functional, cross-platform graphical user interface. In this article, we will look into the process of installing the wxpython module on a windows machine.
Pre-requisites:
The only thing that you need for installing the Scrapy module on Windows are:
Installing wxpython Module on Windows using Conda:
If you want the installation to be done through conda, open up the Anaconda Powershell Prompt and use the below command:
conda install -c anaconda wxpython
Type y for yes when prompted.
You will get a similar message once the installation is complete:
Make sure you follow the best practices for installation using conda as:
- Use an environment for installation rather than in the base environment using the below command:
conda create -n my-env
conda activate my-env
Note: If your preferred method of installation is conda-forge, use the below command:
conda config --env --add channels conda-forge
Verifying wxpython Module Installation on Windows using Conda:
To verify if wxpython Module has been successfully installed in your system run the below command in Anaconda Powershell Prompt:
conda list wxpython
You’ll get the below message if the installation is complete:
Installing wxpython Module on Windows using PIP:
If you want the installation to be done through PIP, open up the Command Prompt and use the below command:
pip install wxpython
You will get a similar message once the installation is complete:
Verifying wxpython Module Installation on Windows using PIP:
To verify if the wxpython Module has been successfully installed in your system run the below command in Command Prompt:
python -m pip show wxPython
You’ll get the below message if the installation is complete:
Last Updated :
22 Sep, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...