美文网首页
pycharm导入第三方库

pycharm导入第三方库

作者: 别动我名字呀 | 来源:发表于2018-11-21 22:27 被阅读43次

pycharm导入第三方库:https://jingyan.baidu.com/article/4853e1e54b845e1909f7268f.html

yaml 模块导入失败:



错误信息:

D:\testCase\Auto_test>pip install yaml
Collecting yaml
  Could not find a version that satisfies the requirement yaml (from versions: )
No matching distribution found for yaml
You are using pip version 7.1.2, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

翻译:
未找到满足yaml要求的版本(来自版本:)
没有发现yaml的匹配分布
您正在使用pip版本7.1.2,但是版本18.1可用。
您应该考虑通过“python -m pip install—upgrade pip”命令进行升级。

解决方案:


升级pip

安装yaml:
pip install pyyaml

相关文章

网友评论

      本文标题:pycharm导入第三方库

      本文链接:https://www.haomeiwen.com/subject/ntbxqqtx.html