1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-07-11 18:27:45 +02:00

package manager: module not found error

This commit is contained in:
tiyn 2025-07-06 05:57:37 +02:00
parent 8cb32856e2
commit 725e2e380c

View File

@ -131,3 +131,14 @@ pacman-key --refresh-keys
The error `the following untracked working tree files would be overwritten` can happen when the
cache features a changed version of the files used by yay to update the package.
This can easily be fixed by removing the cache of the corresponding package.
#### Python `ModuleNotFoundError: No module named...`
In this case the error stems from a missing package.
Normally it can easily be fixed by installing that corresponding package.
But please note that `pyenv` can hide packages if the global Python version is set to something
other than `system`.
This is especially the case on [Arch Linux-systems](/wiki/linux/arch-linux.md) because Python
packages are also installed via [Pacman or Yay](#arch-linux-pacman-and-yay).
In this case the global Version has to be changed to `system` or the package installed to the
non-system Python version.