Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem while executing python deep_rl.py command #26

Open
AhmedSakrr opened this issue Nov 5, 2021 · 5 comments
Open

Problem while executing python deep_rl.py command #26

AhmedSakrr opened this issue Nov 5, 2021 · 5 comments

Comments

@AhmedSakrr
Copy link

AhmedSakrr commented Nov 5, 2021

(.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)

@jbk95
Copy link

jbk95 commented Jan 7, 2022

It can work without importing remove_credentials.

@jcnance1
Copy link

jcnance1 commented Mar 8, 2022

Did anyone get this to work with this error ImportError: cannot import name 'remove_credentials' .
I'm getting the same thing

@mojito228
Copy link

you can just delete 'remove_credentials' from freqtradegym, but this project is a little bit useless, due to python updates

@jcnance1
Copy link

jcnance1 commented Mar 9, 2022

ah that's sad, is it worth trying to revert to python 3.6? any idea if this project will be updated.

@mojito228
Copy link

mojito228 commented Mar 9, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants