RLTrader icon indicating copy to clipboard operation
RLTrader copied to clipboard

ModuleNotFoundError: No module named 'tensorflow.contrib'

Open xsa-dev opened this issue 3 years ago • 1 comments

Hi! I am try use RLTrader, but this error blocked me: ModuleNotFoundError: No module named 'tensorflow.contrib'. ENV: Google Collab with GPU.

This steps make an error:

  1. !git init && git remote add origin https://github.com/notadamking/RLTrader.git && git pull origin master
  2. !pip install -r requirements.txt
  3. !python ./cli.py update-static-data

xsa-dev avatar Nov 14 '21 21:11 xsa-dev

@xsa-dev Your version of Tensorflow is newer than RLTrader is expecting. Tensorflow stopped using "contrib".

I had to lower my version and tensorflow==1.15.0 is working without issue.

MichaelQuaMan avatar Feb 02 '22 13:02 MichaelQuaMan