【问题标题】:snmp responder installing error : ERROR: Could not find a version that satisfies the requirement pysnmp>=5.0.0 (from snmpresponder)snmp 响应程序安装错误:错误:找不到满足要求 pysnmp>=5.0.0 的版本(来自 snmpresponder)
【发布时间】:2019-11-14 12:36:05
【问题描述】:

我正在尝试使用 pip(在 Windows 中)安装 snmpresponder。我正在使用python 2.7。我从以下网站找到了 snmpresponder。 http://snmplabs.com/snmpresponder/

这是我尝试过的

pip install snmpresponder

但我收到以下错误。

Collecting snmpresponder
  Using cached https://files.pythonhosted.org/packages/ba/47/5fee2bffe4b63f750d9f55118fce1796610eb2bf90b8526f584b05d56cb8/snmpresponder-0.0.2-py2.py3-none-any.whl

ERROR: Could not find a version that satisfies the requirement pysnmp>=5.0.0 (from snmpresponder) (from versions: 4.1.16d, 4.1.12a0, 4.1.13a0, 4.1.15a0, 4.1.16a0, 4.1.16b0, 4.1.16rc0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.2.5, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.3.10, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 4.4.8, 4.4.9, 4.4.10, 4.4.11, 4.4.12)
ERROR: No matching distribution found for pysnmp>=5.0.0 (from snmpresponder)

我检查了我的版本,它显示的是 4.4.12(使用 pip show pysnmp)

Name: pysnmp
Version: 4.4.12
Summary: SNMP library for Python
Home-page: https://github.com/etingof/pysnmp
Author: Ilya Etingof
Author-email: etingof@gmail.com
License: BSD
Location: c:\python27\lib\site-packages
Requires: pycryptodomex, pysmi, pyasn1

我也试过更新了,还是显示版本低于5.0.0?那么安装 snmpresponder 应该怎么做呢?我应该更改 pysnmp 还是使用其他方式下载它。如果您需要更多详细信息,请询问。我的基本需求是修复我在 SNMP 代理端面临的一些错误。

【问题讨论】:

    标签: python python-2.7 pysnmp


    【解决方案1】:

    SNMP 响应工具仍处于工作进行中状态。最好从 GitHub 拉取snmpresponder,它依赖于 pysnmp 的 GitHub 版本,所以依赖关系会立即得到满足。

    【讨论】:

    • 从 Git 安装后,这就是我得到的。 ``` 已安装 c:\python27\lib\site-packages\snmpresponder-0.0.3-py2.7.egg 处理 snmpresponder 的依赖项==0.0.3 搜索 pysnmp>=5.0.0 读取 pypi.org/simple/pysnmp 没有本地包或找到 pysnmp>=5.0.0 错误的工作下载链接:找不到 Requirement.parse('pysnmp>=5.0.0')``` 的合适分发
    • 好吧,如果您的 pip 版本不尊重该 git URL,您可以随时从 Github master 手动安装 pysnmp。
    猜你喜欢
    • 2018-10-20
    • 2023-03-20
    • 2020-07-24
    • 1970-01-01
    • 2021-02-11
    • 2020-09-24
    • 2020-12-05
    • 1970-01-01
    • 2021-05-13
    相关资源
    最近更新 更多