April 3, 2023

Raman utility - get the wx package for windows

If I type "python" on the command line, it tells me that it is running python 3.9.7 as of August 2021. As I remember back in 2021 there was already some version of python that came along with windows (or at least it got there from some microsoft related source). I then installed python myself and discovered that I had two versions. This has yet to be problematic, but it is definitely worth keeping in mind (that there are two python versions installed and kicking around).

I boldly try "pip install wx" and it warns me that I am running pip version 21.2.3 and could be running 23.0.1. It even tells me what to type in order to upgrade. I could also upgrade python no doubt. My linux system is running python 3.11.2. But above all, it tells me there is no "wx" package. What does work is:

pip install wxpython
After doing this I can launch python and type "import wx" and get no errors.
All good!
Feedback? Questions? Drop me a line!

Tom's Mineralogy Info / tom@mmto.org