执行sudo -H pip3 install --upgrade brainframe-cli 后出现 Cannot uninstall ‘PyYAML’

执行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

我执行了忽略安装 sudo -H pip3 install PyYAML --ignore-installed 然后就可以安装了

I’m glad it worked! Good call on “–ignore-installed”. I had forgotten about that.