Initial support for raster masks

Hi,

In some Linux environment, you may have difficulty of wxPython instalation in SMART instalation process. In my case (Kubuntu 24.04), I solved this problem using following command instead of using “pip install -r requrements.txt”.


$ pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04 wxPython

$ pip install pillow>=11.3.0

$ pip install platformdirs

$ pip install git+https://github.com/facebookresearch/sam2.git

The URL for wxPython installation may be different depend on your environment. You may find your appropriate URL from following link.

https://extras.wxpython.org/wxPython4/extras/linux/gtk3/

It seems that pip cannot exactly recognize the dependencies of wxPython in some Linux environments.

And in one of my PC, it also needed following installation command to run SMART normally.


$ sudo apt install libpcre2-32-0

1 Like