20210521 22:54:13.669 TRACE:: Config.GetValue(): debug-mode - Using default value: False
20210521 22:54:13.670 TRACE:: Config.Get(): Configuration key not found. Key: results-destination-folder - Using default value:
20210521 22:54:13.670 TRACE:: Config.Get(): Configuration key not found. Key: plugin-directory - Using default value:
20210521 22:54:13.693 TRACE:: Config.Get(): Configuration key not found. Key: composer-dll-directory - Using default value: C:\Users\anonymouse\Documents\Lean\Launcher\bin\Debug\
20210521 22:54:13.959 TRACE:: Python for .NET Assembly: Python.Runtime, Version=2.0.1.0, Culture=neutral, PublicKeyToken=5000fea6cba702dd
20210521 22:54:14.055 TRACE:: Python for .NET Assembly: nPython, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null
20210521 22:54:14.055 TRACE:: Config.Get(): Configuration key not found. Key: data-directory - Using default value: ../../../Data/
20210521 22:54:14.057 TRACE:: Config.Get(): Configuration key not found. Key: version-id - Using default value:
20210521 22:54:14.057 TRACE:: Config.Get(): Configuration key not found. Key: cache-location - Using default value: ../../../Data/
20210521 22:54:14.057 TRACE:: Engine.Main(): LEAN ALGORITHMIC TRADING ENGINE v2.5.0.0 Mode: DEBUG (64bit)
20210521 22:54:14.074 TRACE:: Engine.Main(): Started 6:54 PM
20210521 22:54:14.076 TRACE:: Config.Get(): Configuration key not found. Key: lean-manager-type - Using default value: LocalLeanManager
20210521 22:54:14.100 TRACE:: JobQueue.NextJob(): Selected ../../../Algorithm.Python/BasicTemplateAlgorithm.py
20210521 22:54:14.226 TRACE:: Config.GetValue(): scheduled-event-leaky-bucket-capacity - Using default value: 120
20210521 22:54:14.226 TRACE:: Config.GetValue(): scheduled-event-leaky-bucket-time-interval-minutes - Using default value: 1440
20210521 22:54:14.227 TRACE:: Config.GetValue(): scheduled-event-leaky-bucket-refill-amount - Using default value: 18
20210521 22:54:14.227 TRACE:: Config.Get(): Configuration key not found. Key: algorithm-id - Using default value: BasicTemplateAlgorithm
20210521 22:54:14.228 TRACE:: Config.GetValue(): job-project-id - Using default value: 0
20210521 22:54:14.229 TRACE:: Config.Get(): Configuration key not found. Key: data-permission-manager - Using default value: DataPermissionManager
20210521 22:54:14.230 TRACE:: Config.Get(): Configuration key not found. Key: results-destination-folder - Using default value: C:\Users\anonymouse\Documents\Lean\Launcher\bin\Debug
20210521 22:54:14.237 TRACE:: Config.Get(): Configuration key not found. Key: object-store-root - Using default value: ./storage
20210521 22:54:14.239 TRACE:: AlgorithmManager.CreateTokenBucket(): Initializing LeakyBucket: Capacity: 120 RefillAmount: 18 TimeInterval: 1440
20210521 22:54:14.241 TRACE:: Config.GetValue(): algorithm-manager-time-loop-maximum - Using default value: 20
20210521 22:54:14.249 TRACE:: TextSubscriptionDataSourceReader.SetCacheSize(): Setting cache size to 71582788 items
20210521 22:54:14.483 TRACE:: DebuggerHelper.Initialize(): initializing python...
20210521 22:54:14.483 TRACE:: PythonInitializer.Initialize(): start...
PythonEngine.Initialize(): Runtime.Initialize()...
Runtime.Initialize(): Py_Initialize...
Fatal Python error: Py_Initialize: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
Current thread 0x000005fc (most recent call first):
C:\Users\anonymouse\Documents\Lean\Launcher\bin\Debug\QuantConnect.Lean.Launcher.exe (process 8380) exited with code -1073740791.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
My python3.6.dll is set as
The above error started coming after I set this.
What could be wrong?
Jared Broad
Just curious is there any reason you decided to not use the CLI? It is too difficult to support all the different environments possible so we decided to make the CLI to unify them and make getting setup much much faster for people.
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.
Rushi Chaudhari
I came here from the Github instructions here.
Its fixed now I literally did nothing just removed and added the same environment variables and rebooted a few times and its working.
Rushi Chaudhari
Again after next reboot I am getting the same error. Will go with lean-cli nvm.
Rushi Chaudhari
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!