How to fix conan ModuleNotFoundError: No module named 'conans'

Problem

When running any Conan command, you get an error like this:

Traceback (most recent call last):
  File "/home/uli/.local/bin/conan", line 5, in <module>
    from conans.conan import run
ModuleNotFoundError: No module named 'conans'

Solution

Probably you installed conan before with an older Python version.

The solution is simply to install it again with the correct Python version:

pip install --user conan