Python 3.8, Windows 11, import problem: Failed to import libcppyy3_8

Hi,
I have been trying to install PyRoot on Windows 11 with python 3.8 (Anaconda distribution).
I installed Root using .exe file from the original page (i am not allowed to imsert links), Release 6.24/06 - 2021-09-03, then added the bin folder to the Spyder path, but when i try to import ROOT, I get:

ImportError: Failed to import libcppyy3_8. Please check that ROOT has been built for Python 3.8

The full output is the following:

import ROOT
Traceback (most recent call last):

  File "C:\Users\User\ROOT\bin\cppyy\__init__.py", line 60, in <module>
    importlib.import_module(libcppyy_mod_name)

  File "C:\Users\User\anaconda3\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)

  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import

  File "<frozen importlib._bootstrap>", line 991, in _find_and_load

  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked

ModuleNotFoundError: No module named 'libcppyy3_8'


During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "<ipython-input-1-ee8dc4376aa8>", line 1, in <module>
    import ROOT

  File "C:\Users\User\ROOT\bin\ROOT\__init__.py", line 22, in <module>
    import cppyy

  File "C:\Users\User\ROOT\bin\cppyy\__init__.py", line 62, in <module>
    raise ImportError(

ImportError: Failed to import libcppyy3_8. Please check that ROOT has been built for Python 3.8

I have found some solutions for similar problems, but none of them worked (mostly because they were not fit for Windows).

Any idea how to solve this?
Many thanks in advance.

Make sure you have installed the 32 bit version of Python

Thank you for the answer!
I am however not shure how to do it - I tried to install anaconda 32 software and run Spyder from the 32 navigator, but nothing changed.
Then I tried another tutorial using

$ set CONDA_SUBDIR=win-32

$ conda create -n py38_32bit python=3.8.2

$ conda activate py38_32bit

$ spyder

(I am not allowed to link the page here), but again, nothing changed.
Could you please give me a little more detailed instructions?

Well, I never used anaconda, nor Spyder. I simply download 32 bit Python from the Python.org web site and install it locally

Hi @Galedon,

Adding to what @bellenot mentioned, for Python to find the packages, the PYTHONPATH environment variable has to be set. If you installed ROOT via Conda, I think PYTHONPATH is set accordingly.

If you installed ROOT via any other procedure (e.g. a pre-compiled package, which I think you mentioned), you must manually set PYTHONPATH pointing to the lib/ directory of the ROOT distribution, e.g.

$ set PYTHONPATH=/path/to/root/lib

I don’t know if you can set the search path in Spyder. Alternatively, you can install ROOT using a Conda package.

Cheers,
J.

Hi, adding to what @jalopezg just said, on Windows, the correct value for PYTHONPATH should be C:\path\to\root\bin\

set PYTHONPATH=C:\path\to\root\bin\

And the best way is to call C:\path\to\root\bin\thisroot.bat before starting Python

Thanks for the tips! That moved things a little :slight_smile:
I had originally added the /bin folder to path, that resulted in the original error. When I then call thisroot.bat before Spyder (from anaconda prompt), I get another error:

ModuleNotFoundError: No module named 'termios'

The full message is:

import ROOT
Traceback (most recent call last):

  File "<ipython-input-1-ee8dc4376aa8>", line 1, in <module>
    import ROOT

  File "C:\Program Files\rootv6.24.06\bin\ROOT\__init__.py", line 89, in <module>
    import JupyROOT

  File "C:\Program Files\rootv6.24.06\bin\ROOT\_facade.py", line 150, in _importhook
    return _orig_ihook(name, *args, **kwds)

  File "C:\Program Files\rootv6.24.06\bin\JupyROOT\__init__.py", line 14, in <module>
    from JupyROOT.helpers import cppcompleter, utils

  File "C:\Program Files\rootv6.24.06\bin\ROOT\_facade.py", line 150, in _importhook
    return _orig_ihook(name, *args, **kwds)

  File "C:\Program Files\rootv6.24.06\bin\JupyROOT\helpers\cppcompleter.py", line 16, in <module>
    from JupyROOT.helpers import utils

  File "C:\Program Files\rootv6.24.06\bin\ROOT\_facade.py", line 150, in _importhook
    return _orig_ihook(name, *args, **kwds)

  File "C:\Program Files\rootv6.24.06\bin\JupyROOT\helpers\utils.py", line 22, in <module>
    import pty

  File "C:\Program Files\rootv6.24.06\bin\ROOT\_facade.py", line 150, in _importhook
    return _orig_ihook(name, *args, **kwds)

  File "C:\Users\User\anaconda3_32\lib\pty.py", line 12, in <module>
    import tty

  File "C:\Program Files\rootv6.24.06\bin\ROOT\_facade.py", line 150, in _importhook
    return _orig_ihook(name, *args, **kwds)

  File "C:\Users\User\anaconda3_32\lib\tty.py", line 5, in <module>
    from termios import *

  File "C:\Program Files\rootv6.24.06\bin\ROOT\_facade.py", line 150, in _importhook
    return _orig_ihook(name, *args, **kwds)

ModuleNotFoundError: No module named 'termios'

On the other hand, if I add to path /lib folder, the import ROOT goes seemingly smoothly, but when i try to call any ROOT function, it is not found :smiley: (thisroot.bat has no effect in this case)

That was my first attempt, but Conda supports PyRoot only for Linux and Mac.

Right, there is no termios module on Windows. And if Spyder is similar to Jupyter notebooks, then this should have been fixed in the master branch, and will be available in the next release of ROOT. You can also try one of the nightly builds

Thanks! I have tried the newest versions and it almost work :smiley: Specificaly when I run only Python (with no interpreter, just Python in cmd), the pyROOT works! Well, yes, the canvas does not respond and I am forced to shut python down, but it is working!
However when i try it in Spyder (which is my primary goal) it gives me very long message and freeze the kernel. After a few tries the message does not disappear and I can access it:

An error ocurred while starting the kernel
In file included from libGeom dictionary payload:17:
In file included from C:/Program Files (x86)/root_v6.25.01\include\TGeoExtension.h:15:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include\cassert:9:
In file included from C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\assert.h:12:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt.h:205:12: error: redefinition of '_CrtEnableIf'
struct _CrtEnableIf
^~~~~~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:142:12: note: previous definition is here
struct _CrtEnableIf
^
In file included from libGeom dictionary payload:17:
In file included from C:/Program Files (x86)/root_v6.25.01\include\TGeoExtension.h:15:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include\cassert:9:
In file included from C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\assert.h:12:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt.h:596:16: error: redefinition of '__crt_locale_data_public'
typedef struct __crt_locale_data_public
^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:517:16: note: previous definition is here
typedef struct __crt_locale_data_public
^
In file included from libGeom dictionary payload:17:
In file included from C:/Program Files (x86)/root_v6.25.01\include\TGeoExtension.h:15:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include\cassert:9:
In file included from C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\assert.h:12:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt.h:603:16: error: redefinition of '__crt_locale_pointers'
typedef struct __crt_locale_pointers
^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:524:16: note: previous definition is here
typedef struct __crt_locale_pointers
^
In file included from libGeom dictionary payload:17:
In file included from C:/Program Files (x86)/root_v6.25.01\include\TGeoExtension.h:15:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include\cassert:9:
In file included from C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\assert.h:12:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt.h:611:16: error: redefinition of '_Mbstatet'
typedef struct _Mbstatet
^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h:532:16: note: previous definition is here
typedef struct _Mbstatet
^
Error in : Error parsing payload code for class gGeoManager with content:

#line 1 "libGeom dictionary payload"


#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

Assertion failed: !m_Unloading && "Must not nest within unloading transaction", file C:\build\ws\BUILDTYPE\Release\LABEL\windows10\V\master\root\interpreter\cling\lib\Interpreter\Transaction.cpp, line 98
*** Break *** abort

==========================================
=============== STACKTRACE ===============
==========================================


================ Thread 0 ================
libCore!TWinNTSystem::DispatchSignals()
libCore!TWinNTSystem::ShowMembers()
ucrtbase!raise()
ucrtbase!abort()
ucrtbase!get_wpgmptr()
ucrtbase!get_wpgmptr()
ucrtbase!wassert()
libCling!TClingValue::ToTypeAndValueString()
libCling!cling::Value::print()
libCling!TClingValue::ToTypeAndValueString()
libCling!TCling::LoadEnums()
libCore!TListOfEnums::Load()
libCore!TClass::GetListOfEnums()
libCling!TCling::InvalidateCachedDecl()
libCling!TCling::UpdateListsOnUnloaded()
libCling!TCling::UpdateListsOnUnloaded()
libCling!TCling__UpdateListsOnUnloaded()
libCling!TClingCallbacks::TransactionUnloaded()
libCling!cling::runtime::internal::EvaluateDynamicExpression()
libCling!cling::runtime::internal::EvaluateDynamicExpression()
libCling!cling::Value::print()
libCling!cling::runtime::internal::EvaluateDynamicExpression()
libCling!TClingValue::ToTypeAndValueString()
libCling!TClingValue::ToTypeAndValueString()
libCling!TClingTypedefInfo::Init()
libCling!TClingTypedefInfo::TClingTypedefInfo()
libCling!TCling::TypedefInfo_Factory()
libCore!TListOfTypes::FindType()
libCore!TROOT::GetType()
libcppyy_backend3_8!Cppyy::ResolveName()
libcppyy_backend3_8!Cppyy::GetScope()
libcppyy3_8!CPyCppyy::CreateScopeProxy()
libcppyy3_8!std::basic_string,std::allocator >::compare()
python38!PyObject_LookupAttr()
python38!PyLong_FromUnsignedLong()
python38!PyLong_FromUnsignedLong()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyObject_CallFunctionObjArgs()
python38!PyErr_SetKeyError()
python38!PyObject_IsInstance()
python38!PyObject_LookupAttr()
python38!PyLong_FromUnsignedLong()
python38!PyLong_FromUnsignedLong()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyNumber_Long()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyGen_Send()
python38!PyGen_Send()
python38!PyTrash_thread_deposit_object()
python38!PyObject_CallFunctionObjArgs()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyGen_Send()
python38!PyGen_Send()
python38!PyTrash_thread_deposit_object()
python38!PyObject_CallFunctionObjArgs()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyNumber_Long()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyGen_Send()
python38!PyGen_Send()
python38!PyTrash_thread_deposit_object()
python38!PyObject_CallFunctionObjArgs()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyGen_Send()
python38!PyGen_Send()
python38!PyObject_SelfIter()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyObject_FastCallDict()
python38!PyFrame_BlockSetup()
python38!PyFrame_BlockSetup()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!PyVectorcall_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyEval_EvalCodeEx()
python38!PyEval_EvalCode()
python38!PyCodec_Encode()
python38!PyCodec_Encode()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyErr_SetFromWindowsErr()
python38!Py_RunMain()
python38!Py_RunMain()
python38!Py_Main()
python38!Py_Main()
python!??
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 1 ================
ntdll!ZwWaitForWorkViaWorkerFactory()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 2 ================
ntdll!ZwWaitForWorkViaWorkerFactory()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 3 ================
ntdll!ZwWaitForWorkViaWorkerFactory()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 4 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 5 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 6 ================
ntdll!NtRemoveIoCompletion()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 7 ================
ntdll!ZwWaitForSingleObject()
python38!Py_HandleSystemExit()
python38!PyUnicode_DecodeUTF8Stateful()
python38!PyEval_RestoreThread()
select!PyInit_select()
select!PyInit_select()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyMem_Free()
python38!PyMem_Free()
ucrtbase!time32()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 8 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!zmq_poll()
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!zmq_proxy()

================ Thread 9 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 10 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 11 ================
ntdll!ZwWaitForSingleObject()
python38!PyIndex_Check()
python38!PyThread_acquire_lock_timed()
python38!PyTime_AsMicroseconds()
python38!PyTime_AsMicroseconds()
python38!PySlice_Unpack()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyMem_Free()
python38!PyMem_Free()
ucrtbase!time32()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 12 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 13 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 14 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!zmq_msg_recv()
socket.cp38‑win32!PyInit_socket()

================ Thread 15 ================
ntdll!ZwWaitForMultipleObjects()
KERNELBASE!WaitForMultipleObjects()
libffi𔂱!ffi_raw_call()
libffi𔂱!ffi_call_go()
libffi𔂱!ffi_call()
_ctypes!??
_ctypes!??
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyMem_Free()
python38!PyMem_Free()
ucrtbase!time32()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 16 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!zmq_msg_recv()
socket.cp38‑win32!PyInit_socket()

================ Thread 17 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 18 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 19 ================
ntdll!ZwDelayExecution()
KERNELBASE!SleepEx()
KERNELBASE!Sleep()
libCore!TWinNTSystem::TimerThread()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 20 ================
win32u!NtUserGetMessage()
libCore!TWinNTSystem::FreeDirectory()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 21 ================
ntdll!ZwWaitForSingleObject()
python38!PyIndex_Check()
python38!PyThread_acquire_lock_timed()
python38!PyTime_AsMicroseconds()
python38!PyTime_AsMicroseconds()
python38!PySlice_Unpack()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyMem_Free()
python38!PyMem_Free()
ucrtbase!time32()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

==========================================
============= END STACKTRACE =============
==========================================

*** Break *** abort

==========================================
=============== STACKTRACE ===============
==========================================


================ Thread 0 ================
libCore!TWinNTSystem::DispatchSignals()
libCore!TWinNTSystem::ShowMembers()
ucrtbase!raise()
ucrtbase!abort()
ucrtbase!get_wpgmptr()
ucrtbase!get_wpgmptr()
ucrtbase!wassert()
libCling!TClingValue::ToTypeAndValueString()
libCling!cling::Value::print()
libCling!TClingValue::ToTypeAndValueString()
libCling!TCling::LoadEnums()
libCore!TListOfEnums::Load()
libCore!TClass::GetListOfEnums()
libCling!TCling::InvalidateCachedDecl()
libCling!TCling::UpdateListsOnUnloaded()
libCling!TCling::UpdateListsOnUnloaded()
libCling!TCling__UpdateListsOnUnloaded()
libCling!TClingCallbacks::TransactionUnloaded()
libCling!cling::runtime::internal::EvaluateDynamicExpression()
libCling!cling::runtime::internal::EvaluateDynamicExpression()
libCling!cling::Value::print()
libCling!cling::runtime::internal::EvaluateDynamicExpression()
libCling!TClingValue::ToTypeAndValueString()
libCling!TClingValue::ToTypeAndValueString()
libCling!TClingTypedefInfo::Init()
libCling!TClingTypedefInfo::TClingTypedefInfo()
libCling!TCling::TypedefInfo_Factory()
libCore!TListOfTypes::FindType()
libCore!TROOT::GetType()
libcppyy_backend3_8!Cppyy::ResolveName()
libcppyy_backend3_8!Cppyy::GetScope()
libcppyy3_8!CPyCppyy::CreateScopeProxy()
libcppyy3_8!std::basic_string,std::allocator >::compare()
python38!PyObject_LookupAttr()
python38!PyLong_FromUnsignedLong()
python38!PyLong_FromUnsignedLong()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyObject_CallFunctionObjArgs()
python38!PyErr_SetKeyError()
python38!PyObject_IsInstance()
python38!PyObject_LookupAttr()
python38!PyLong_FromUnsignedLong()
python38!PyLong_FromUnsignedLong()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyNumber_Long()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyGen_Send()
python38!PyGen_Send()
python38!PyTrash_thread_deposit_object()
python38!PyObject_CallFunctionObjArgs()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyGen_Send()
python38!PyGen_Send()
python38!PyTrash_thread_deposit_object()
python38!PyObject_CallFunctionObjArgs()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyNumber_Long()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyGen_Send()
python38!PyGen_Send()
python38!PyTrash_thread_deposit_object()
python38!PyObject_CallFunctionObjArgs()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyGen_Send()
python38!PyGen_Send()
python38!PyObject_SelfIter()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyObject_FastCallDict()
python38!PyFrame_BlockSetup()
python38!PyFrame_BlockSetup()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyContext_NewHamtForTests()
python38!PyContext_NewHamtForTests()
python38!PyObject_RichCompareBool()
python38!PyVectorcall_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyEval_EvalCodeEx()
python38!PyEval_EvalCode()
python38!PyCodec_Encode()
python38!PyCodec_Encode()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyErr_SetFromWindowsErr()
python38!Py_RunMain()
python38!Py_RunMain()
python38!Py_Main()
python38!Py_Main()
python!??
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 1 ================
ntdll!ZwWaitForWorkViaWorkerFactory()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 2 ================
ntdll!ZwWaitForWorkViaWorkerFactory()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 3 ================
ntdll!ZwWaitForWorkViaWorkerFactory()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 4 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 5 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 6 ================
ntdll!NtRemoveIoCompletion()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 7 ================
ntdll!ZwWaitForSingleObject()
python38!Py_HandleSystemExit()
python38!PyUnicode_DecodeUTF8Stateful()
python38!PyEval_RestoreThread()
select!PyInit_select()
select!PyInit_select()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyMem_Free()
python38!PyMem_Free()
ucrtbase!time32()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 8 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!zmq_poll()
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!zmq_proxy()

================ Thread 9 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 10 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 11 ================
ntdll!ZwWaitForSingleObject()
python38!PyIndex_Check()
python38!PyThread_acquire_lock_timed()
python38!PyTime_AsMicroseconds()
python38!PyTime_AsMicroseconds()
python38!PySlice_Unpack()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!PyFunction_Vectorcall()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyEval_CallObjectWithKeywords()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyMem_Free()
python38!PyMem_Free()
ucrtbase!time32()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 12 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 13 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 14 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!zmq_msg_recv()
socket.cp38‑win32!PyInit_socket()

================ Thread 15 ================
ntdll!ZwWaitForMultipleObjects()
KERNELBASE!WaitForMultipleObjects()
libffi𔂱!ffi_raw_call()
libffi𔂱!ffi_call_go()
libffi𔂱!ffi_call()
_ctypes!??
_ctypes!??
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyMem_Free()
python38!PyMem_Free()
ucrtbase!time32()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 16 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!??
libzmq‑mt𔂮_3_2!zmq_msg_recv()
socket.cp38‑win32!PyInit_socket()

================ Thread 17 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 18 ================
ntdll!ZwWaitForSingleObject()
mswsock!ProcessSocketNotifications()
WS2_32!select()
libzmq‑mt𔂮_3_2!??

================ Thread 19 ================
ntdll!ZwDelayExecution()
KERNELBASE!SleepEx()
KERNELBASE!Sleep()
libCore!TWinNTSystem::TimerThread()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 20 ================
win32u!NtUserGetMessage()
libCore!TWinNTSystem::FreeDirectory()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

================ Thread 21 ================
ntdll!ZwWaitForSingleObject()
python38!PyIndex_Check()
python38!PyThread_acquire_lock_timed()
python38!PyTime_AsMicroseconds()
python38!PyTime_AsMicroseconds()
python38!PySlice_Unpack()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyEval_EvalCodeWithName()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!Py_CheckFunctionResult()
python38!PyEval_EvalFrameDefault()
python38!PyFunction_Vectorcall()
python38!PyNumber_Long()
python38!PyVectorcall_Call()
python38!PyObject_Call()
python38!PyMem_Free()
python38!PyMem_Free()
ucrtbase!time32()
KERNEL32!BaseThreadInitThunk()
ntdll!RtlGetFullPathName_UEx()
ntdll!RtlGetFullPathName_UEx()

==========================================
============= END STACKTRACE =============
==========================================

Jupyter lab on the other hand, is still giving me the missing termios error.

So I will have to try, but that will take some time…

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.