rlR icon indicating copy to clipboard operation
rlR copied to clipboard

Tensorflow 2.0 Breaking Changes

Open mul118 opened this issue 5 years ago • 1 comments

Hi @smilesun, love the idea of this package! R community would greatly benefit from having access to the latest deep reinforcement learning algs and platform.

Wanted to let you know that when installing the package with Tensorflow 2.0, I get the following error:

Error in py_get_attr_impl(x, name, silent) : 
  AttributeError: module 'tensorflow' has no attribute 'Session'
[1] FALSE

This seems to be due to a change to how 'Session' is handled in 2.0 v 1.0 (see: https://stackoverflow.com/a/58386580)

Is there a way to fix this, other than doing a virtualenv and pinning versions? Thanks!

mul118 avatar Dec 28 '19 21:12 mul118

Hi, I have also encountered this problem, how doing a virtualenv

sihuiren avatar Apr 16 '24 03:04 sihuiren