【问题标题】:conjur python api thorwing ModuleNotFoundError: No module named 'config'conjur python api thorwing ModuleNotFoundError: No module named 'config'
【发布时间】:2020-11-13 23:14:12
【问题描述】:

我正在使用 conjur-client==0.1.0 和 conjur==0.4.4,python 3.8。异常消息看起来像

 File "/usr/local/lib/python3.8/site-packages/conjur/__init__.py", line 22, in <module>
from config import Config

ModuleNotFoundError: 没有名为“config”的模块

到目前为止,我尝试将 python 版本更改为 3.7,将 conjur 版本更改为旧版本,但没有成功。 这可能是什么问题?

【问题讨论】:

    标签: python modulenotfounderror


    【解决方案1】:

    不要在 Python 3 上同时安装 conjurconjur-client

    基于https://pypi.org/project/Conjur/

    如果您正在寻找 Python3 API 客户端,请访问我们的新项目页面https://github.com/cyberark/conjur-api-python3

    重要提示:此 API 客户端当前未得到积极支持

    Python 3 客户端只是 conjur-clienthttps://pypi.org/project/conjur-client/

    【讨论】:

      猜你喜欢
      • 2022-12-19
      • 2022-08-24
      • 1970-01-01
      • 2022-12-27
      • 2022-12-27
      • 2020-02-10
      • 1970-01-01
      • 1970-01-01
      • 2022-10-17
      相关资源
      最近更新 更多