I got this error after running sudo -H pip3 install --upgrade brainframe-cli

Archived from the BrainFrame forum. Posted Sep 22, 2021. 3 replies · 650 views Translated into English from the original Chinese posts. Read the original
I got this error after running sudo -H pip3 install --upgrade brainframe-cli

Hi Siyannian, welcome to the forum!
It looks like you have PyYAML installed via APT, which is conflicting with the version Pip wants to install. As a workaround, you may be able to install PyYAML manually via Pip, which will “mask” the system-installed version.
sudo -H pip3 install pyyaml
I ran sudo -H pip3 install PyYAML --ignore-installed to ignore the installed version, and then the installation worked.
I’m glad it worked! Good call on “–ignore-installed”. I had forgotten about that.