码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-07-05 10:18:39      阅读:11908      评论:0      收藏:0      [点我收藏+]

标签:height   成功   rom   python   PyYAML   资料   img   idt   str   

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

技术分享图片

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

技术分享图片

但是执行pip install pyyaml

技术分享图片

就可以成功。

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

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

 

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

标签:height   成功   rom   python   PyYAML   资料   img   idt   str   

原文地址:https://www.cnblogs.com/xiaodai0/p/9266631.html

(1)
(4)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!