When I type the "lean init" command into my terminal I get the error zsh: command not found: lean. This is probably do to an a bad installation of lean. When I use the regular pip to install I do get an error as it tries to install for python 2.7 but if I use pip3 it seems to install with no problems. Also I'm not sure how docker comes into play with the installation process. I am working on a Mac if that makes a difference.
Jasper van Merle
Hi Noah,
You need to add the directory in which pip3 installs executables to your PATH. You can find this directory by running `which pip3`, the directory the pip3 binary is in is usually also the one where pip3 installs executables into.
Docker comes into play when you run LEAN locally using the CLI. During the installation process you only need to make sure Docker is installed on your machine, the CLI will automatically download the required Docker images when it needs them.
Louis Szeto
Hi all
I come in to help with Jasper's instruction. You open a terminal and create a empty directory like this video. Then start a python terminal by simply type: python3
Then you input codes in the following by order to make the pip3 executables in PATH, then restart terminal and it'' be done.
Cheers
Louis
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.
Noah Huerta
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!