I tried to start breezy by typing brz status at the bash command prompt.
When I do, I get the following:
$ brz st
brz: ERROR: Couldn't import breezy and dependencies.
Please check the directory containing breezy is on your PYTHONPATH.
Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'breezy'"), traceback: None }
Thank you for that clue. It seems that you are right. I run Python for a Python virtualenv.
When I remove that virtualenv bin directory from my PATH environment variable, my system runs Python from /usr/bin, and breezy (brz) works.
Effectively, the above uses a temporary PATH environment variable, and forces brz to execute the Python in /usr/bin.
But, that’s a bit of a kludge, isn’t it? Seems like there should be a better way.
I tried to install breezy in my Python virtualenv, but in order to do so, it wants me to install the rust compiler. Maybe I’ll have to do that.
OK. I installed rust with pamac. Then I installed breezy in my virtualenv with Python pip.
So, now I’m executing brz from my virtualenv, and that works.