SimplerEnv icon indicating copy to clipboard operation
SimplerEnv copied to clipboard

Installation

Open ddopplereffekt opened this issue 1 year ago • 1 comments

Hello, The full installation instructions have the following lines:

""" pip install tensorflow==2.15.0 pip install -r requirements_full_install.txt pip install tensorflow[and-cuda]==2.15.1 # tensorflow gpu support """

I don't understand why first installing tensorflow 2.15.0 and then 2.15.1 with GPU support, is the last line not sufficient? Could someone please explain this, thank you!

ddopplereffekt avatar Aug 12 '24 15:08 ddopplereffekt

It's a hack to get around the weird tensorflow install dependencies; some requirements in requirements_full_install.txt requires an existing installed tensorflow. You also can't directly install tensorflow[and-cuda]==2.15.1 before installing from requirements_full_install.txt as some dependenicies for tensorflow will be broken.

xuanlinli17 avatar Aug 13 '24 23:08 xuanlinli17

As Xuanlinli said, The reason is dlimp 0.0.1 requires tensorflow==2.15.0, but you have tensorflow 2.15.1 which is incompatible.

LukeLIN-web avatar Mar 11 '25 18:03 LukeLIN-web