How to fix conan ModuleNotFoundError: No module named 'conans'
Problem
When running any Conan command, you get an error like this:
conan_traceback.txt
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:
install_conan.sh
pip install --user conan
Check out similar posts by category:
Conan
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow