之前在网上找了各种资料,cmd安装yaml,网上大部分写的都是pip install yaml

pyhon-----安装yaml踩过的坑以及正解

可是,执行完就变成Could not find a version that satisfies the requirement yaml <from versions:>No matching distribution found for yaml.

pyhon-----安装yaml踩过的坑以及正解

但是执行pip install pyyaml

pyhon-----安装yaml踩过的坑以及正解

就可以成功。

后来才知道,python3.X只能使用pip install pyyaml 来安装。

想要看安装是否成功,输入import pyyaml即可。

 

相关文章:

  • 2021-06-09
  • 2022-12-23
  • 2018-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-06-08
  • 2021-09-01
猜你喜欢
  • 2021-04-30
  • 2021-10-26
  • 2021-10-18
  • 2021-12-08
  • 2021-11-06
  • 2021-06-24
  • 2022-01-13
相关资源
相似解决方案