Boost::Python doesn't work with Python 3.8 on 64bit Windows.
还没有人认领这个 Issue。
评估
调研方向
首先在 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 内容生成。
描述
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')
- 主要语言
- C++
- 星标
- 537
- 派生
- 223
- 平均合并
- 11 小时 22 分钟
- 30 天内合并 PR
- 2
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/python 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 64/100
-
BoostDetectToolset-1.90.0.cmake file not found in an include() call in boost_python-config.cmake 未关闭
难度 3/5 1-2 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
enhancement
难度 1/5 1 小时以内 新手友好度 88/100
QuantStack/git2cpp#187 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 84/100
mlcommons/mobile_app_open#1182 ·
-
Needs-Triage
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/winget-cli#6547 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
AXERA-TECH/ax-llm#77 ·