Open shawnngtq opened 4 days ago
Hey, @shawnngtq!
Thanks for sharing the error. It seems that the issue might be because the __pycache__
folder was created with root user permissions, which the Docker container can’t access.
Does your project already have a __pycache__
folder? If so, did you use different users while creating and running the backtest? Could you also check the folder's permissions with ls -l ./__pycache__/
?
Besides, you could also try deleting the folder and running it again.
Context
I'm testing lean-cli using starter code, during backtest encounter *** PermissionError: [Errno 13] Permission denied: '/LeanCLI/pycache'
Setup
Error during backtest