使用Clblast VCPKG在Windows 10上安装Pyclblast
Windows 10上安装Python软件包pyclblast
。
pip3 install pyclblast
我正在尝试在
src \ pyclblast.cpp(700):致命错误c1082:无法打开包含文件:'clblast_c.h'':no这样的文件或目录
错误:命令'c:\ program文件(x86)\ Microsoft Visual Studio \ 2019 \ buildTools \ vc \ tools \ MSVC \ 14.29.30133 \ bin \ bin \ hostx86 \ x64 \ x64 \ cl.exe失败了/p>
我有clblast
通过vcpkg
安装。标头文件位于c:\\ dev \\ vcpkg \\ packages \\ cblast_x64-windows \\ include
。如何告诉pip3
在哪里看?我尝试
pip3 install pyclblast --global-option="/I..."
了...
是上方的路径,但这是失败的
无效命令名称
/IC:\\ ...
。
I am trying to install the python package pyclblast
on Windows 10.
pip3 install pyclblast
fails with
src\pyclblast.cpp(700): fatal error C1082: Cannot open include file: 'clblast_c.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
I have clblast
installed via vcpkg
. The header file is located at C:\\dev\\vcpkg\\packages\\cblast_x64-windows\\include
. How do I tell pip3
where to look? I tried
pip3 install pyclblast --global-option="/I..."
where ...
is the path from above, but that failed with
invalid command name
/IC:\\...
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了正确的方法:
安装现在成功了,但是该模块仍然无法导入。我将打开一个新问题。
I found the correct way:
The installation succeeds now, but the module can still not be imported. I will open a new question for that.