close

How to properly install wxPython?

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How to properly install wxPython in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

Table of Contents

How to properly install wxPython?

  1. How to properly install wxPython?

    Make sure you have at least version 6.0.8 of pip and 12.0.5 for setuptools.
    Install requirements for Linux as outlined in the readme.rst at:
    https://github.com/wxWidgets/Phoenix/blob/master/README.rst

  2. properly install wxPython

    Make sure you have at least version 6.0.8 of pip and 12.0.5 for setuptools.
    Install requirements for Linux as outlined in the readme.rst at:
    https://github.com/wxWidgets/Phoenix/blob/master/README.rst

Method 1

3 steps to install wx-widgets and pygame in python IDLE

  1. Install python 3xxx in your system opting (Add 3xxx to your path).
  2. open python CLI to see whether python is working or not.
  3. then open command prompt (CMD).
    • type PIP to see whether pip is installed or not.
  4. enter command : pip install wheel
  5. enter command : pip install pygame
  6. To install wxpython enter command : pip install -U wxPython

Thats all !!

Method 2

As per home page instruction:

Make sure you have at least version 6.0.8 of pip and 12.0.5 for setuptools.

Install requirements for Linux as outlined in the readme.rst at:

    https://github.com/wxWidgets/Phoenix/blob/master/README.rst 

Install wxPython-Phoenix (Linux):

       sudo pip install --upgrade --trusted-host wxpython.org --pre -f http://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix 

Install wxPython-Phoenix (Windows, use the appropriate script folder):

       C:\python27\scripts\pip.exe install --upgrade  --trusted-host wxpython.org --pre -f http://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix

Conclusion

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read