Boost::Python doesn't work with Python 3.8 on 64bit Windows.
- 主要語言
- C++
- 星號
- 537
- 分支
- 223
- 平均合併
- 11 小時 22 分鐘
- 30 天內合併 PR
- 2
描述
I seem to be unable to get boost::python working for CPython 3.8 (official 3.8.3 release for windows 64 bit) with boost 1.73.0. I'm using Visual Studio 2017 (15.9.23).
Problem is that boost and all extensions compile without error but any and all extensions using boost:::python fail to load. The exact error is "ImportError: DLL load failed while importing ben_scott1_ext: The specified module could not be found." which is not particularly helpful. According to dependency walker no dependencies seem to be missing. Interestingly enough the same extensions work fine on CPython 3.7 (and earlier),
Any idea on how to diagnose this further?
Python version:
Version : 3.8.3
Compiler : MSC v.1924 64 bit (AMD64)
Build : ('tags/v3.8.3:6f8c832', 'May 13 2020 22:37:02')
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
先在 Windows 上使用 Boost 1.73.0、CPython 3.8.3 64-bit 和 Visual Studio 2017 重現該失敗,然後在 CPython 3.7 下比較相同的擴充功能。檢查針對 ben_scott1_ext 回報的 DLL 載入失敗,並使用 issue 中的相依性資訊來縮小差異範圍。在指定的 Python 3.8 設定下成功載入 Boost.Python 擴充功能即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp, python
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100