close

[Solved] Python ImportError: No module named wx

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Python ImportError: No module named wx in python. So Here I am Explain to you all the possible solutions here.

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

How Python ImportError: No module named wx Error Occurs?

Today I get the following error Python ImportError: No module named wx in python.

How To Solve Python ImportError: No module named wx Error ?

  1. How To Solve Python ImportError: No module named wx Error ?

    To Solve Python ImportError: No module named wx Error For Windows and MacOS, Simply install it with pip
    pip install -U wxPython

  2. Python ImportError: No module named wx

    To Solve Python ImportError: No module named wx Error For Windows and MacOS, Simply install it with pip
    pip install -U wxPython

Solution 1

For Windows and MacOS, Simply install it with pip

pip install -U wxPython

Solution 2

Windows:

  1. Go to C:\Python27\Lib\site-packages\ find the folder wx-<version>-msw or similar
  2. Move the wx from the above folder to C:\Python27\Lib\site-packages\

Summery

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

Also, Read