0

我正在尝试使用使用 python 模块 github3.py 的 ansible 模块 github_release。

我需要运行剧本的机器没有访问互联网的权限,所以我下载了(pip 下载 github3.py),然后在我安装的其他机器上(pip install ./*.whl)。

我确定安装了 python 模块:

$ pip show github3.py
Name: github3.py
Version: 1.3.0
Summary: Python wrapper for the GitHub API(http://developer.github.com/v3)
Home-page: https://github3.readthedocs.io
Author: Ian Stapleton Cordasco
Author-email: graffatcolmingov@gmail.com
License: 3-clause BSD
Location: /usr/lib/python2.7/site-packages
Requires: python-dateutil, uritemplate, requests, jwcrypto
Required-by:

但我的剧本有同样的错误:

TASK [Get latest release from repository] ***********************************************************************************************************************
fatal: [vg1200yr.dc.sedc.internal.vodafone.com]: FAILED! => {"changed": false, "msg": "Missing required github3 module (check docs or install with: pip install github3.py==1.0.0a4)"}

知道为什么我的剧本可以找到 github3 模块吗?

4

0 回答 0