构建boost python 3.4 64位

构建boost python 3.4 64位,boost,64-bit,python-3.4,Boost,64 Bit,Python 3.4,我正在努力学习Boost.python中的教程 我的环境在标题中 当我尝试bjam时,我收到以下错误: C:\local\boost\u 1\u 57\u 0\libs\python\example\tutorial>bjam.exe 地址模型=64…耐心。。。耐心。。。成立于1894年 目标。。。正在更新6个目标。。。msvc.link.dll bin\msvc-12.0\debug\address-model-64\threading multi\hello\u ext.pyd 创建库 bi

我正在努力学习Boost.python中的教程

我的环境在标题中

当我尝试bjam时,我收到以下错误:

C:\local\boost\u 1\u 57\u 0\libs\python\example\tutorial>bjam.exe 地址模型=64…耐心。。。耐心。。。成立于1894年 目标。。。正在更新6个目标。。。msvc.link.dll bin\msvc-12.0\debug\address-model-64\threading multi\hello\u ext.pyd

创建库 bin\msvc-12.0\debug\address-model-64\threading multi\hello\u e xt.pdb 和对象 bin\msvc-12.0\debug\address-model-64\threading multi\hello\u ext.exp 链接:致命错误LNK1207:中的PDB格式不兼容 'C:\local\boost\u 1\u 57\u 0\li bs\python\example\tutorial\bin\msvc-12.0\debug\address-model-64\multi-threading\ 你好_ext.pdb';删除并重建

    call "C:\Users\Navid\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86_amd64
.cmd“>numlink/NOLOGO/INCREMENTAL:NO/DLL/NOENTRY/DEBUG /计算机:X64/清单/子系统项目:控制台 /输出:“bin\msvc-12.0\debug\address-model-64\threading multi\hello\u ext .pyd“ /IMPLIB:“bin\msvc-12.0\debug\address-model-64\threading multi\hello\u ext.pd” b“/LIBPATH:“C:\Python34\libs”
@“bin\msvc-12.0\debug\address-model-64\threadin g-multi\hello_ext.pyd.rsp“ 如果%ERRORLEVEL%NEQ 0退出%ERRORLEVEL%

…msvc.link.dll失败 bin\msvc-12.0\debug\address-model-64\threading multi\hel lo_ext.pyd bin\msvc-12.0\debug\address-model-64\threading multi\hello\u ext.pdb bi n\msvc-12.0\debug\address-model-64\threading multi\hello\u ext.pdb。。。 …删除 bin\msvc-12.0\debug\address-model-64\threading multi\hello\u ext.pdb …跳过hello_ext.pyd,因为缺少 你好,外线pyd…收到了 bin\hello.test\msvc-12.0\debug\address-model-64\threading multi\hello.py 你好,派伊 复制了1个文件。2to3 bin\hello.test\msvc-12.0\debug\address-model-64\threading multi\hello.py “2to3”不被识别为内部或外部命令,可操作 程序或批处理文件。“2to3”未被识别为内部或外部文件 外部命令、可操作程序或批处理文件

2to3 -wn --no-diffs "bin\hello.test\msvc-12.0\debug\address-model-64\threadi
ng multi\hello.py“ 2to3-dwn--无差异“bin\hello.test\msvc-12.0\debug\address-model-64\thread 正在运行multi\hello.py“

…失败2to3 bin\hello.test\msvc-12.0\debug\address-model-64\threading multi\h 哎呀。。。移除 bin\hello.test\msvc-12.0\debug\address-model-64\threading multi\hell o、 嗯…跳过了 赫尔 因为缺少 你好,佩妮。。。更新3个目标失败。。。跳过了3个目标

我确定了。\b2地址模型=64和\turorial>bjam地址模型=64

用户配置也被配置为


MSVC配置。 使用msvc:12.0


Python配置。 配置特定的Python版本。使用python:3.4:C:\python34:C:\python34\include:C:\python34\libs


我想谈谈如何纠正“2to3”未被识别为内部或外部命令、可操作程序或批处理文件。这意味着2to3不在你的道路上。 要将其添加到您的路径中,请遵循。遵循最后一个答案