Hi, I recently purchased research Pack. Since then, my local lean-cli is not working properly.
For example, when I type “lean backtest scratch/” for the backtest, I'm getting the following error message.
Error: Please make sure Docker is installed and running
Visit
https://www.lean.io/docs/v2/lean-cli/key-concepts/troubleshooting#02-Common-Erro
rs for more information
Any idea????
Mia Alissi
To help resolve the issue with your local Lean CLI, follow these steps:
Verify Docker Installation: Ensure that Docker is installed on your machine. You can check this by running
docker --version
in your terminal. If Docker is not installed, download and install it from the Docker website.Check Docker Status: Confirm that Docker is running. You can do this by opening the Docker Desktop application or using the command
docker info
in the terminal. If Docker is not running, start it from the Docker Desktop application.Restart Docker: If Docker is installed but not running properly, try restarting the Docker service or your computer to ensure Docker starts correctly.
Update Lean CLI: Make sure your Lean CLI is up to date by running
lean update
in the terminal. This ensures you have the latest features and bug fixes.Check Docker Permissions: Ensure that your user account has the necessary permissions to run Docker commands. You might need to add your user to the Docker group or run commands with elevated privileges.
Re-run Backtest Command: After verifying Docker is running and Lean CLI is updated, try running
lean backtest scratch/
again.If you continue to experience issues, you may want to consult the Lean CLI troubleshooting guide for additional solutions.
Sources: QuantConnect Paper Trading - QuantConnect.com
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Uhahahaha
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!