🌊

pip install notebookでPyYaml error

2023/08/31に公開

anaconda環境でpip install notebookとすると以下のログが出ました。

(省略)
Attempting uninstall: pyyaml
    Found existing installation: PyYAML 5.1.2
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 remove pyyaml
conda install pyyaml
pip install notebook

Discussion