FinRL
FinRL copied to clipboard
Demo MultiCrypto Trading - cannot import 'Arguments' from 'elegantrl.train.config
Facing an ImportError: cannot import name 'Arguements' from 'elegantrl.train.config'
Facing error with No module named 'ray.rllib.agents'
The AI4Finance team is currently working on updating the demos and examples for optimal performance. Please note that certain functions may have been removed or modified due to recent updates to the elegantrl library, which may cause this demo to malfunction.
this error can be easily fixed following https://github.com/AI4Finance-Foundation/ElegantRL/issues/256 but then there is the error: ImportError: cannot import name 'init_agent' from 'elegantrl.train.run'
I still did not find fix for that someone suggest to downgrade the ElegantRL version, so I did it then I also had to downgrade the finrl version, as it was no more compatible with the older ElegantRL, so I did it, but then it also requires an older version of Meta, for which I cannot find the source code
the crypto notebook as well as the remaining tutorial notebooks seem to be very simple, so these issues should be easily fixable by someone who understands well the AI4finance extensive library.
I hope someone take some time to fix the tutorials for the AI4finance's packages newer versions. As far as I know these errors have been reported since the beginning of 2022, almost 2 years ago. It is very hard for newcomers, as me, to understand these libraries without these tutorials.
I understand it may still take time to fix the Demo MultiCrypto Trading notebook, meanwhile, can someone suggest a quick workaround for the "ImportError: cannot import name 'init_agent' from 'elegantrl.train.run'" problem? @Yonv1943 @zhumingpassional ? so that me and other users could use the tutorial notebooks while waiting for a proper fix
thank you very much in advance
@caoHenriques did you find a work around by any chance?