问题描述:
在安装tsfresh时候,报错
Python 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.
解决方法:在安装命令后加上
--ignore-installed
即可解决问题,例如:
pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --ignore-installed