While running the pyROOT code in visual Studio code, the 1st step is to import the ROOT libraries. But while doing so, my Jupyter notebook is crashing with the following Output(same thing is happening even if my code consist of only “import ROOT”):
The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click here for more info. View Jupyter log for further details.
But, when i run a normal .py file with my codes for histogram, it works fine even though it takes almost a minute to import the ROOT libraries.
Are there any solutions for this?
The Log File content is shown below:
#define _BACKWARD_BACKWARD_WARNING_H
// Inline headers
#include "TGDMLMatrix.h"
#include "TGeoArb8.h"
#include "TGeoAtt.h"
#include "TGeoBBox.h"
#include "TGeoBoolNode.h"
#include "TGeoBranchArray.h"
#include "TGeoBuilder.h"
#include "TGeoCache.h"
#include "TGeoCompositeShape.h"
#include "TGeoCone.h"
#include "TGeoElement.h"
#include "TGeoEltu.h"
#include "TGeoExtension.h"
#include "TGeoGlobalMagField.h"
#include "TGeoHalfSpace.h"
#include "TGeoHelix.h"
#include "TGeoHype.h"
#include "TGeoManager.h"
#include "TGeoMaterial.h"
#include "TGeoMatrix.h"
#include "TGeoMedium.h"
#include "TGeoNavigator.h"
#include "TGeoNode.h"
#include "TGeoOpticalSurface.h"
#include "TGeoPara.h"
#include "TGeoParaboloid.h"
#include "TGeoParallelWorld.h"
#include "TGeoPatternFinder.h"
#include "TGeoPcon.h"
#include "TGeoPgon.h"
#include "TGeoPhysicalConstants.h"
#include "TGeoPhysicalNode.h"
#include "TGeoPolygon.h"
#include "TGeoRCPtr.h"
#include "TGeoRegion.h"
#include "TGeoScaledShape.h"
#include "TGeoShape.h"
#include "TGeoShapeAssembly.h"
#include "TGeoSphere.h"
#include "TGeoStateInfo.h"
#include "TGeoSystemOfUnits.h"
#include "TGeoTorus.h"
#include "TGeoTrd1.h"
#include "TGeoTrd2.h"
#include "TGeoTube.h"
#include "TGeoUniformMagField.h"
#include "TGeoVolume.h"
#include "TGeoVoxelFinder.h"
#include "TGeoXtru.h"
#include "TGeoTessellated.h"
#include "TGeoVector3.h"
#include "TVirtualGeoConverter.h"
#include "TVirtualGeoPainter.h"
#include "TVirtualGeoTrack.h"
#include "TVirtualMagField.h"
#undef _BACKWARD_BACKWARD_WARNING_H
A21:33:55.863 [info] Dispose Kernel process 12500.
21:33:55.912 [info] End cell 5 execution @ undefined, started @ 1697731288457, elapsed time = -1697731288.457s
ROOT Version: 6.28
Platform: Windows
Compiler: Python 3.8.8



