FileNotFoundError: [Errno 2] No such file or directory: 'src/config.yml'
alexjchu opened this issue · 4 comments
alexjchu commented
The config file was renamed to config.ym, but I still get this error. What's the fix for this?
Linus045 commented
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
.
Linus045 commented
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.
alexjchu commented
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.
Linus045 commented
that would also fix the problem yes.
I will close this issue then