Hi,
I have serious problems getting Lean to work on Visual Studio 2019 (Windows 10)
Among other errors, I still get the following even though I have already installed Net:
Errore gli assembly di riferimento per .NETFramework,Version=v4.0 non sono stati trovati (not found). Per risolvere il problema, installare Developer Pack (SDK/Targeting Pack) per questa versione del framework o ridestinare l'applicazione. È possibile scaricare .NET Framework Developer Pack all'indirizzo https://aka.ms/msbuild/developerpacks prova C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 1177
Moreover: I have followed the tutorial on github for installation, but cannot figure out how to deal with Nuget (if I have to). If some of you could just tell me some very simple steps to try install Lean properly, i would be very grateful. If I missed any fundamental information, just inform me and I'll be updating the discussion.
thank you
Jake Mitchell
Hi Davide,
I don't know if I can help you with your specific situation but I recently attempted to get my local Lean installation running in Windows 10 x64 and I've been partially successful, thought not for without having gone through several headaches to get there. I have it to the point where it builds without errors, but I haven't seen any backtesting being done. I believe they offloaded that to the QC algorithm lab and they expect us to use the VS extension to upload our changes.
For my situation at least, I found that using a python environment manager like "pyenv" did nothing to help me as Lean always looked for "python36.dll". I ended up following these instructions (specifically, you can either install Python 3.6 standalone, but you're better off using Anaconda). I was able to store my library files in a private github repo and create a symbolic link to it within the local Lean repo under the Algorithm.Python/Lib directory (which is gitignored). Since it's ignored, you'll need to browse the solution explorer in VS, select "Show all files", right-click the ignored repo you just symlinked and select "add to project". Now you can use the VS extension to push changes to your algorithm lab projects, and you can manually push your file changes to a private git repo for the sake of backups. Take note of my github issue regarding the QC VS extension in case you might suffer from the same problems.
There's documentation all over the place but I find that the 1st link I gave you has most of what you will need.
Davide Roznowicz
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!