【问题标题】:ModuleNotFoundError when trying to install and import the aux library尝试安装和导入辅助库时出现 ModuleNotFoundError
【发布时间】:2022-11-12 11:45:27
【问题描述】:

我不想做图像的特征提取,作为它的一部分,我想使用 aux 库。我已经 pip 安装了 aux 库并收到错误。我正在尝试为以下错误找到解决方案。

WARNING: Discarding https://files.pythonhosted.org/packages/0e/d8/1ca6b67fee40d3fba147853cdce37bae241a0f0b6b9ee0cb2f60473f2f37/aux-0.0.1.tar.gz#sha256=e8f5148d0bdbec8dc64722a64592121835ea99e774b2be89a66384b99ef0df52 (from https://pypi.org/simple/aux/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement aux (from versions: 0.0.1, 0.0.2)
ERROR: No matching distribution found for aux

我尝试通过执行 pip install aux == 0.0.2 来安装它,它显示以下内容。

ERROR: Invalid requirement: '=='

【问题讨论】:

    标签: python pip


    【解决方案1】:

    你必须把之间没有空格包名称、== 和版本。

    pip install aux=0.0.2
    

    【讨论】:

      猜你喜欢
      • 2020-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-05
      • 2019-07-03
      • 1970-01-01
      • 1970-01-01
      • 2021-07-05
      相关资源
      最近更新 更多