PARL
PARL copied to clipboard
cannot import name 'PPO' from 'parl.algorithms'
my code:
from parl.algorithms import PPO
my parl version:
grpcio-1.37.0 parl-2.2.1 pyzmq-18.1.1 tensorboardX-2.5
what can I do to solve this problem?
Have you installed paddlepaddle?
I used ai studio and paddle is installed by default

It seems that you have installed an out-of-date version of PARL. Could you show us the version of PARL in AI Studio?
it seems that the default parl version is 1.4.1
I see. You should install the newest parl 2.2.1.
Thanks! It shows parl 2.2.1 is installed but the version I used is 1.4.1. this may be a bug of ai studio, i have to update my parl package and restart my notebook kernel to actually use parl 2.2.1.