Hi there,
The intention for me is to develop locally, when using `lean` command line to `lean cloud pull`, it failed with a mysterious message here:
This has happened for a while and not sure if why source code having this parameter will cause `lean cloud pull` fail.
I'm now unable to develop locally in my computer due to this error.
Thank you for helping!
Mia Alissi
I'm sorry to hear that you're having trouble with the
lean cloud pull
command. Based on the information provided, it's hard to determine the exact cause of the issue. However, I can provide some general troubleshooting steps based on the information from the QuantConnect documentation.Check your command: Make sure the command you're trying to run exists and supports the options you're providing. If the documentation says it's available and you're still having issues, you might be using an outdated version of the CLI. You can update to the latest version by running
pip install --upgrade lean
.Check your credentials: If you're trying to use a command that communicates with the QuantConnect API and you haven't authenticated yourself yet, you'll need to log in with your API credentials. You can do this by running
lean login
.Check your Docker installation: If you're trying to use a command that needs to run the LEAN engine locally, which always happens in a Docker container, you'll need to make sure Docker is installed and running. If you haven't installed Docker yet, you can find instructions on how to do so here.
Check your Lean configuration file: If the command you're trying to run requires a Lean configuration file and the CLI can't find one, you'll need to create one. You can do this by running
lean init
in an empty directory, or you can specify the file to use with the--lean-config
option.If you're still having issues after trying these steps, you can contact the QuantConnect engineers by opening an issue in the QuantConnect/lean-cli repository on GitHub. Before doing so, please run the command that's giving you issues with the
--verbose
flag and copy and paste the output into the issue. This will enable debug messages to be printed, which will make it easier for the engineers to help you.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.
Hin Lam
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!