Nav*_*vid 6 64-bit boost python-3.4
我正在尝试按照Boost.python中的教程.
我的环境在标题中.
当我尝试bjam时收到以下错误:
C:\ local\boost_1_57_0\libs\python\example\tutorial> bjam.exe address-model = 64 ...耐心......耐心......找到1894个目标......更新6个目标... msvc.link.dll bin\msvc-12.0\debug\address-model-64\threading-multi\hello_ext.pyd
创建库bin\msvc-12.0\debug\address-model-64\threading-multi\hello_e xt.pdb和object bin\msvc-12.0\debug\address-model-64\threading-multi\hello_ext .exp LINK:fatal错误LNK1207:'C:\ local\boost_1_57_0\li \nbs\python\example\tutorial\bin\msvc-12.0\debug\address-model-64\threading-multi\hello_ext.pdb'中不兼容的PDB格式; 删除并重建
Run Code Online (Sandbox Code Playgroud)call "C:\Users\Navid\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86_amd64.cmd"> nul link/NOLOGO/INCREMENTAL:NO/DLL/NOENTRY/DEBUG/MACHINE:X64/MANIFEST/subsys tem:console /out:"bin\msvc-12.0\debug\address-model-64\threading-multi\hello_ext .pyd"/IMPLIB:
"bin\msvc-12.0 \debug\address-model-64\threading-multi\hello_ext.pd b"/ LIBPATH:"C:\ Python34\libs" @"bin\msvc-12.0\debug\address-model-64\threadin g-multi\hello_ext.pyd.rsp"if%ERRORLEVEL%NEQ 0 EXIT%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_ext .pdb bi n\msvc-12.0\debug\address-model-64\threading-multi\hello_ext.pdb ...... ...删除bin\msvc-12.0\debug\address-model-64\threading-multi\hello_ext .pdb ...跳过hello_ext.pyd缺少hello_ext.pyd ... copy bin\hello.test\msvc-12.0\debug\address-model-64\threading-multi\hello.py hello.py 1 file( s)复制.2to3 bin\hello.test\msvc-12.0\debug\address-model-64\threading-multi\hello.py'2to3'未被识别为内部或外部命令,可运行程序或批处理文件.'2to3'不被识别为内部或外部命令,可操作程序或批处理文件.
Run Code Online (Sandbox Code Playgroud)2to3 -wn --no-diffs "bin\hello.test\msvc-12.0\debug\address-model-64\threading-multi\hello.py"2to3 -dwn --no-diffs"bin\hello.test\msvc-12.0\debug\address-model-64\thread ing-multi\hello.py"
...失败2to3 bin\hello.test\msvc-12.0\debug\address-model-64\threading-multi\h ello.py ...... ...删除bin\hello.test\msvc-12.0\debug\address-model-64\threading-multi\hell o.py ...因缺乏而跳过hello
hello.py ......未能更新3个目标......跳过3个目标......
我确定.\ b2 adress-model = 64和\ turorial> bjam address-model = 64
user-config也配置为
MSVC配置.
使用msvc:12.0;
Python配置.
配置特定的Python版本.使用python:3.4:C:\ python34:C:\ Python34\include:C:\ Python34\libs;
小智 -1
我想谈谈如何纠正“2to3”不被识别为内部或外部命令、可操作程序或批处理文件的问题。这意味着 2to3 不在您的路径中。要将其添加到您的路径中,请遵循Python 2to3 windows CMD。遵循最后一个答案
| 归档时间: |
|
| 查看次数: |
678 次 |
| 最近记录: |