For about a month I’ve a problem updating micromamba through yay.
Within the last week it as now affected two more packages in the AUR for me and all refuse to update. Now cogl and clutter-gtk are affected.
I have tried installing all using yay or manually using git and makepkg.
All three seem to give the error of
ModuleNotFoundError: No module named ‘giscanner._giscanner’
I found some people having similar problems and suggested deactivating conda and trying to install, but I still run into the same issue.
I have also seen a suggestion in running the command g-ir-scanner by itself and should be seeing the error ERROR: Need at least one filename
However I also run into the aforementioned ModuleNotFoundError.
My guess is that perhaps my conda or python installation maybe at fault.
Python version installed 3.10.13
Conda version install 25.11.1
Perhaps of important note, I have ComfyUI installed on my system.
I ran into similar problems with pyenv. Can you open a fresh terminal, one without conda involved? What does python --version return on each? I’m betting that the system version will see the offending module.
In a nutshell, don’t run yay in a virtual environment.
Or, if they’re AUR packages, use eos-update --yay but explicitly skip just those packages for now. Get your system up-to-date, reboot, then address those packages.
run /usr/bin/python, type import giscanner._giscanner, then enter
What is the result? I can’t stress enough how important it is to run system packages with the system python. All of the modules that these programs depend on are in directories that the system version of python is expecting.
Oh, my issue maybe my system python causing an issue.
Running your suggestions returns Traceback (most recent call last): File “”, line 1, in import giscanner._giscanner ModuleNotFoundError: No module named ‘giscanner’
OK, now try the exact same thing with the python that your previous which python returned.
As I mentioned above, I ran into issues like this when I had pyenv installed. I was constantly having to maneuver around what my terminal thought was the correct default python. I’ve since switched to uv, which is not only faster but a 100x easier to manage.
Doing the same thing with what my which python returned give me Traceback (most recent call last): File “”, line 1, in import giscanner._giscanner ModuleNotFoundError: No module named ‘giscanner’
You might be right about having multiple versions of python running.
I had some issues with ComfyUI a while back and that’s why I mentioned it in the original post.
At some point, though, you did install the micromamba package, correct? If so, the giscanner module has to exist somewhere. I would try searching the following directories listed in these python commands (run once for /usr/bin/python, once for the other):
python -c "import sys; [print(name) for name in sys.path]"
For the other /home/USER /home/USER/stable-diffusion-webui /home/USER/miniconda3/lib/python313.zip /home/USER/miniconda3/lib/python3.13 /home/USER/miniconda3/lib/python3.13/lib-dynload /home/USER/miniconda3/lib/python3.13/site-packages
I might have been running into issues with python and stable diffusion webui instead of comfyui.
I don’t use stable diffusion anymore.
EDIT: well, at least I know now where you got Python 3.10 from: it’s a hard dependency of stable-diffusion-webui-git. This package is orphaned at the moment, with no updates since 2024.
That’s right, 3.10.13 seems to be from my stable diffusion install, I once I commented out the python path from my .bashrc I no longer see any 3.10.13 when I run python3 --version.
Perhaps deleting stable diffusion webui is a good idea.