- built DockerfileLeanFoundation without issue
- built DockerfileJupyter with only having to change line's 29 & 30 to make sure versions matched: foundation docker.
The kernel for BasicQuantBookTemplate.ipynb appears to have died. It will restart automatically.
the output from the logs are as followed:Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Python.Runtime, Version=1.0.5.20, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'Python.Runtime, Version=1.0.5.20, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethodInfo.get_method_info(intptr,System.Reflection.MonoMethodInfo&)
at System.Reflection.MonoMethodInfo.GetMethodInfo (System.IntPtr handle) [0x00000] in <b0e1ad7573a24fd5a9f2af9595e677e7>:0
at System.Reflection.MonoMethodInfo.GetDeclaringType (System.IntPtr handle) [0x00000] in <b0e1ad7573a24fd5a9f2af9595e677e7>:0
at System.Reflection.MonoMethod.get_DeclaringType () [0x00000] in <b0e1ad7573a24fd5a9f2af9595e677e7>:0
at Python.Runtime.ClassManager.GetClassInfo (System.Type type) [0x00035] in <062a7d6923794bc4bf6c1208dc074447>:0
at Python.Runtime.ClassManager.InitClassBase (System.Type type, Python.Runtime.ClassBase impl) [0x00000] in <062a7d6923794bc4bf6c1208dc074447>:0
at Python.Runtime.ClassManager.GetClass (System.Type type) [0x00028] in <062a7d6923794bc4bf6c1208dc074447>:0
at Python.Runtime.ModuleObject.GetAttribute (System.String name, System.Boolean guess) [0x00074] in <062a7d6923794bc4bf6c1208dc074447>:0
at Python.Runtime.ModuleObject.LoadNames () [0x0002f] in <062a7d6923794bc4bf6c1208dc074447>:0
at Python.Runtime.ImportHook.__import__ (System.IntPtr self, System.IntPtr args, System.IntPtr kw) [0x002b7] in <062a7d6923794bc4bf6c1208dc074447>:0
I Have double checked and all the version numbers are correct for mono and python and so on. this is as far as you can get in the notebook before it crashes, the last line is what causes the kernel to die. I have again confirmed mono is 5.12 %matplotlib inline
# Imports
from clr import AddReference
AddReference("System")
AddReference("QuantConnect.Common")
AddReference("QuantConnect.Jupyter")
AddReference("QuantConnect.Indicators")
from System import *
from QuantConnect import *