Installation Toolchain on Linux Mint - PyYAML error

Hi All,
I reinstalled my laptop and installed the latest version of Linux Mint.
During the installation of bcf, I found this error message

sudo pip3 install --upgrade --no-cache-dir bcf
.
.
.
Installing collected packages: PyYAML, appdirs, colorama, intelhex, pyserial, requests, contextlib2, schema, bcf
Found existing installation: PyYAML 3.12
ERROR: Cannot uninstall ‘PyYAML’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Workaround of this error is running of this command before installation of bcf

sudo -H pip3 install --ignore-installed PyYAML

1 Like