edeng23 / binance-trade-bot

Automated cryptocurrency trading bot
GNU General Public License v3.0
7.88k stars 2.19k forks source link

i can't get to run the bot (i'm on windows ) #324

Closed yacinos95 closed 3 years ago

yacinos95 commented 3 years ago

File "C:\Users\habiba\Desktop\binance-trade-bot-master\binance_trade_bot__main__.py", line 1, in from .crypto_trading import main ImportError: attempted relative import with no known parent package

yacinos95 commented 3 years ago

i get this error when trying to start the bot

C:\Users\habiba>python -m binance_trade_bot Traceback (most recent call last): File "C:\Users\habiba\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 188, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "C:\Users\habiba\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 147, in _get_module_details return _get_module_details(pkg_main_name, error) File "C:\Users\habiba\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 111, in _get_module_details import(pkg_name) File "C:\Users\habiba\AppData\Local\Programs\Python\Python39\binance_trade_bot__init__.py", line 1, in from .backtest import backtest File "C:\Users\habiba\AppData\Local\Programs\Python\Python39\binance_trade_bot\backtest.py", line 14, in cache = SqliteDict("data/backtest_cache.db") File "C:\Users\habiba\AppData\Local\Programs\Python\Python39\lib\site-packages\sqlitedict.py", line 157, in init raise RuntimeError('Error! The directory does not exist, %s' % dirname) RuntimeError: Error! The directory does not exist, data