Open AhmedSakrr opened 3 years ago
It can work without importing remove_credentials.
Did anyone get this to work with this error ImportError: cannot import name 'remove_credentials' . I'm getting the same thing
you can just delete 'remove_credentials' from freqtradegym, but this project is a little bit useless, due to python updates
ah that's sad, is it worth trying to revert to python 3.6? any idea if this project will be updated.
ah that's sad, is it worth trying to revert to python 3.6? any idea if this project will be updated.
No, cause you need numpy=1.22, which is supported only buy python3.8, otherwise you will have some errors. You can try to update rewrite some libraries or install newer versions of them, but you will be ought to edit code
(.env) root@freqtrade2:/home/screw/freqtrade# python deep_rl.py Traceback (most recent call last): File "deep_rl.py", line 7, in
from freqtradegym import TradingEnv
File "/home/screw/freqtrade/freqtradegym.py", line 16, in
from freqtrade.configuration import (TimeRange, remove_credentials,
ImportError: cannot import name 'remove_credentials' from 'freqtrade.configuration' (/home/screw/freqtrade/freqtrade/configuration/init.py)