DeepSlice icon indicating copy to clipboard operation
DeepSlice copied to clipboard

Cannot pip install DeepsSlice

Open Ttan2021 opened this issue 1 year ago • 2 comments

Hi, I'm trying to install DeepSlice using pip but am getting this specific error:

"ERROR: Cannot install deepslice==1.0.0, deepslice==1.0.1, deepslice==1.0.11, deepslice==1.0.2, deepslice==1.0.3, deepslice==1.0.4, deepslice==1.0.5, deepslice==1.0.6, deepslice==1.1.0, deepslice==1.1.1, deepslice==1.1.2, deepslice==1.1.3, deepslice==1.1.4, deepslice==1.1.5 and deepslice==1.1.6 because these package versions have conflicting dependencies.

The conflict is caused by: deepslice 1.1.6 depends on tensorflow==1.15.0 deepslice 1.1.5 depends on tensorflow==1.15.0 deepslice 1.1.4 depends on tensorflow==1.15.0 deepslice 1.1.3 depends on tensorflow==1.15.0 deepslice 1.1.2 depends on tensorflow==1.15.0 deepslice 1.1.1 depends on tensorflow==1.15.0 deepslice 1.1.0 depends on tensorflow==1.15.0 deepslice 1.0.11 depends on tensorflow==1.15.0 deepslice 1.0.6 depends on tensorflow==1.15.0 deepslice 1.0.5 depends on tensorflow==1.15.0 deepslice 1.0.4 depends on tensorflow==1.15.0 deepslice 1.0.3 depends on tensorflow==1.15.0 deepslice 1.0.2 depends on tensorflow==1.15.0 deepslice 1.0.1 depends on tensorflow==1.15.0 deepslice 1.0.0 depends on tensorflow==1.15.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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts"

Has anyone ran into this error and what have you done to get around this issue?

Thanks!

Ttan2021 avatar Jan 11 '24 20:01 Ttan2021

Also I tried looking for tensorflow 1.15 but could only find a stackoverflow thread which did not work for me unfortunately.

Ttan2021 avatar Jan 11 '24 20:01 Ttan2021

Do you have an environment with python 3.7 installed? this might be due to that :)

PolarBean avatar Jan 12 '24 10:01 PolarBean

This should no longer be a problem, as DeepSlice works with newer python versions now

PolarBean avatar May 24 '24 15:05 PolarBean

I'm still having this issue. I'm running pip 24.0 and python 3.12.3 and getting the same error message as above (I'll paste it in here if that's helpful too). Do you have any suggestions about what to try? I'm using the pip install DeepSlice command.

ERROR: Cannot install deepslice==1.0.0, deepslice==1.0.1, deepslice==1.0.11, deepslice==1.0.2, deepslice==1.0.3, deepslice==1.0.4, deepslice==1.0.5, deepslice==1.0.6, deepslice==1.1.0, deepslice==1.1.1, deepslice==1.1.2, deepslice==1.1.3, deepslice==1.1.4, deepslice==1.1.5, deepslice==1.1.6, deepslice==1.1.7, deepslice==1.2, deepslice==1.2.1, deepslice==1.2.2 and deepslice==1.2.3 because these package versions have conflicting dependencies.

The conflict is caused by: deepslice 1.2.3 depends on tensorflow<=2.15.0 deepslice 1.2.2 depends on tensorflow<=2.15.0 deepslice 1.2.1 depends on tensorflow<=2.15.0 deepslice 1.2 depends on tensorflow<=2.15.0 deepslice 1.1.7 depends on tensorflow==1.15.0 deepslice 1.1.6 depends on tensorflow==1.15.0 deepslice 1.1.5 depends on tensorflow==1.15.0 deepslice 1.1.4 depends on tensorflow==1.15.0 deepslice 1.1.3 depends on tensorflow==1.15.0 deepslice 1.1.2 depends on tensorflow==1.15.0 deepslice 1.1.1 depends on tensorflow==1.15.0 deepslice 1.1.0 depends on tensorflow==1.15.0 deepslice 1.0.11 depends on tensorflow==1.15.0 deepslice 1.0.6 depends on tensorflow==1.15.0 deepslice 1.0.5 depends on tensorflow==1.15.0 deepslice 1.0.4 depends on tensorflow==1.15.0 deepslice 1.0.3 depends on tensorflow==1.15.0 deepslice 1.0.2 depends on tensorflow==1.15.0 deepslice 1.0.1 depends on tensorflow==1.15.0 deepslice 1.0.0 depends on tensorflow==1.15.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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

jcs-01 avatar Jun 04 '24 16:06 jcs-01

ok I havent tested with python 3.12, could you try with 3.11?

PolarBean avatar Jun 04 '24 16:06 PolarBean

That works! Thank you!

jcs-01 avatar Jun 04 '24 19:06 jcs-01