OS Error: The filename, directory name, or volume label syntax is incorrect

Hi. I am new to Ray. I am trying to use DQN model for my environment.
My tune.run looks like this:

results = tune.run(
“DQN”,
config = {“env”: My_env,
},
local_dir=‘./results’
)

when I try to run the code, I get the error of: OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect.

how can i resolve it?

Hi @alirezamiral,

can you share the full stacktrace? Does this also happen when you don’t specify local_dir, or when you use a different environment such as CartPole?