Runtime error R6034 in embedded Python application

前端 未结 13 1204
暗喜
暗喜 2020-12-04 10:06

I am working on an application which uses Boost.Python to embed the Python interpreter. This is used to run user-generated \"scripts\" which interact with the main program.<

13条回答
  •  一整个雨季
    2020-12-04 10:42

    Check any library having user specified path by Process Explorer. It is not necessary must be msvcr??.dll I solved same problem except I run Python 3. Present solutions not helped because they not indicate unusual paths of msvcr90.dll. I debug code step by step inside till error dialog appears after rows (called when my code was importing PyTables module):

    import ctypes
    ctypes.cdll.LoadLibrary('libbz2.dll')
    

    Then Process Explorer helps to find path to old libbz2.dll caused the problem (steps 3, 4 of @Micheal Cooper algorithm)

提交回复
热议问题