pip install yaml

问题

pip install yaml

ERROR: Could not find a version that satisfies the requirement yaml (from versions: none)
ERROR: No matching distribution found for yaml

结果

第一种
直接安装

pip install pyyaml

第二种
下载pyyaml的安装包,进行手动路径安装

# pip install 路径
pip install H:\PyYAML-5.3-cp35-cp35m-win_amd64.whl

Processing h:\pyyaml-5.3-cp35-cp35m-win_amd64.whl
Installing collected packages: PyYAML
Successfully installed PyYAML-5.3

你可能感兴趣的:(python错误合集)