PyCUDA 安装错误:设置 Utrnert 存储库时“无法为 pycuda 构建轮子”

问题描述 投票:0回答:1

我正在尝试克隆并设置 Utrnert GitHub 存储库,但在安装 pycuda 时不断遇到问题。所有其他依赖项(例如 pytools 和验证器)都可以顺利安装。然而,pycuda 始终失败。

Python 3.7  
nvidia-cublas-cu11==11.10.3.66  
nvidia-cuda-nvrtc-cu11==11.7.99  
nvidia-cuda-runtime-cu11==11.7.99  
nvidia-cudnn-cu11==9.5.0.50  
opencv-contrib-python==4.5.1.48  
opencv-python==4.5.1.48  
packaging==23.0  
Pillow==9.4.0  
pkgutil_resolve_name==1.3.10  
platformdirs==3.1.1  
PyArabic==0.6.15  
pycuda==2022.1  

我怀疑这可能是版本冲突或缺少依赖项,但我不知道如何继续。

Note: This error originates from a subprocess, and is likely not a problem with pip.  
ERROR: Failed building wheel for pycuda  

Failed to build pycuda  
ERROR: Could not build wheels for pycuda, which is required to install pyproject.toml-based projects.  

关于如何解决这个问题有什么想法吗?

pytorch conda pycuda conda-build
1个回答
0
投票

官方文档:https://pypi.org/project/pycuda/说要使用

python ~=3.8
.

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.