Loading csv in env causing problem with tune

I am tryin to use tune with ppo. My env loads a csv file but when I am using tune it gives the following error. I think the problem is in loading a csv file to each enviorment. Can some please tell me how can I resolve this problem.
ERROR worker.py:409 – Exception raised in creation task: The actor died because of an error raised in its creation task, ray::PPO.init() (pid=9584, ip=192.168.0.28)
FileNotFoundError: [Errno 2] No such file or directory:
(pid=15400) Windows fatal exception: access violation
(pid=15400)
(pid=13004) Windows fatal exception: access violation
(pid=13004)
(pid=13900) Windows fatal exception: access violation
FileNotFoundError: [Errno 2] No such file or directory:

Hi @Arif_Jahangir,

The first things to consider would be:
Are your running ray with one node or multiple nodes?

If multiple, have you uploaded the file to all the nodes and does it exist in the exact same path on every node?

Are you using an absolute path or a relative path to the file? If relative have you double checked that it is relative to your actual working directory in python. This will be whatever is returned by os.getcwd().

Finally,tthere is no need to ask the same question in multiple topics. One is sufficient.

It’s probably cause you dont have read/write permission on the CSV file or you probably didn’t specify the right CSV file path to the environment.