inarikami / keras-rl2

Reinforcement learning with tensorflow 2 keras
MIT License
251 stars 105 forks source link

Pip install fails because of tf-version (pypi lists only version 1.0.2) #14

Closed stheid closed 4 years ago

stheid commented 4 years ago
> sudo pip install keras-rl2 --no-cache-dir
Collecting keras-rl2
  Downloading keras-rl2-1.0.3.tar.gz (40 kB)
     |████████████████████████████████| 40 kB 308 kB/s 
ERROR: Could not find a version that satisfies the requirement tensorflow==2.0.0-beta1 (from keras-rl2) (from versions: none)
ERROR: No matching distribution found for tensorflow==2.0.0-beta1 (from keras-rl2)

The library seems to expect an exact tensorflow version

pip install git+git://github.com/wau/keras-rl2.git --upgrade --no-deps

works.

I think pip tries to install 1.0.2

inarikami commented 4 years ago

Solved in latest pypi binaries and f5adb0e