Skip to content

package versions have conflicting dependencies. #46

@bigbrother001

Description

@bigbrother001

Thanks for great work!
when I try to install the environment by
pip install -r requirements.txt

It will tell me that package versions have conflicting dependencies. For example,

The conflict is caused by:
The user requested scipy==1.4.1
scikit-learn 0.24.0 depends on scipy>=0.19.1
tensorflow 2.3.0 depends on scipy==1.4.1
unbabel-comet 0.1.0 depends on scipy<1.6.0 and >=1.5.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 attempt to solve the dependency conflict

or

INFO: pip is looking at multiple versions of pytorch-lightning to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r bartscore_env_requirements.txt (line 63) and fsspec==0.8.7 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested fsspec==0.8.7
pytorch-lightning 1.3.0 depends on fsspec>=2021.4.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 attempt to solve the dependency conflict

How can I make it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions