Forums

No such file or directory: 'symbol_list.csv'

The code works in terminal, but when i run on schedule task it gives error Please advice

Initiating Data Downloader! Traceback (most recent call last): File "/home/rizpython236/BT/data_downloader.py", line 28, in <module> tickers_df = pd.read_csv(SYMBOLS_CSV)

FileNotFoundError: [Errno 2] No such file or directory: 'symbol_list.csv'

Try using the absolute path to the file in the script. See also this help page.