DeepCTR icon indicating copy to clipboard operation
DeepCTR copied to clipboard

pip installation installs tensorflow, overwritting tensorflow-gpu

Open dustinbigham opened this issue 7 years ago • 2 comments

pip installation now installs tensorflow which overwrites tensorflow-gpu installation. Please remove tensorflow from requirements or allow tensorflow-gpu to be a replacement.

dustinbigham avatar Jan 02 '19 05:01 dustinbigham

@dustinbigham
Hey,if you have already installed 'tensorflow-gpu>=1.4.0,!=1.7.*,!=1.8.*', .You can use pip install -U deepctr --no-deps to install it ignoring the requirements. I don't know how to set the requirements to support tensorflow or tensorflow-gpu at the same time.I think I need help~

shenweichen avatar Jan 02 '19 05:01 shenweichen

Thanks, I'll do that if another solution isn't made.

You could try this or remove tensorflow from requirements: https://stackoverflow.com/questions/44251532/how-do-i-specify-two-alternative-requirements-with-setuptools-by-pip-package-nam

dustinbigham avatar Jan 02 '19 18:01 dustinbigham