2022年12月7日

在宅勤務。会議とか。

$ python3 -m pip install tensorflow
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.

ん?

$ python3 -m pip uninstall pyyaml
Found existing installation: PyYAML 3.13
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.

調べたら、これはcondaのせいだった。

conda uninstall pyyaml