CyberPunkMetalHead/gateio-crypto-trading-bot-binance-announcements-new-coins

FileNotFoundError: [Errno 2] No such file or directory: 'src/config.yml'

alexjchu opened this issue · 4 comments

The config file was renamed to config.ym, but I still get this error. What's the fix for this?

Due to 2340b95 the config file needs to be moved into the src/ directory.
Same location as the current config.example.yml file.
Also make sure its named config.yml.

Currently the bot is expected to be run from the root directory like so:
python ./src/main.py
Which will set the working directory correctly.

I was meaning to update my earlier post. So, what I did was remove 'src/' from the 5 files mentioned in 2340b95 due to main.py being in the same folder. It's working now. I'm using Windows 10 if that matters. Thank you for your help.

that would also fix the problem yes.
I will close this issue then