Skip to content

requriement版本冲突 #145

@moro0v0

Description

@moro0v0

我使用的是python3.9版本,然后安装的时候报错 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl (44 kB)
INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 10), -r requirements.txt (line 11), -r requirements.txt (line 8) and torch==1.8.1 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested torch==1.8.1
timm 0.4.5 depends on torch>=1.4
torchaudio 0.8.1 depends on torch==1.8.1
torchvision 0.10.0 depends on torch==1.9.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict
    ,这里的audio和vision需要的torch版本都不对应,该怎么解决?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions