当前位置:网站首页>Pep517 error during pycuda installation
Pep517 error during pycuda installation
2022-04-23 07:27:00 【wujpbb7】
perform :pip install pycuda
appear :Building wheel for pycuda (PEP 517) ... error
Use :pip install pycuda --no-binary :all:
Don't solve the problem .
Compile from source , solve the problem .
1、 download pycuda-2021.1.tar.gz
2、tar xfz pycuda-2021.1.tar.gz
3、cd pycuda-2021.1
4、python3 configure.py --cuda-root=/usr/local/cuda
5、make install
If you can't find it pyconfig.h Error of , Just install python3-dev.
If you can't find it nvcc Error of , Just export CUDA_ROOT=/usr/local/cuda/bin.
Reference resources :
https://wiki.tiker.net/PyCuda/Installation/Linux/
https://stackoverflow.com/questions/8368815/pycuda-cuda-root-not-set-and-nvcc-not-in-path
版权声明
本文为[wujpbb7]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230611550732.html
边栏推荐
- imx6ull-qemu 裸机教程1:GPIO,IOMUX,I2C
- How keras saves and loads the keras model
- unhandled system error, NCCL version 2.7.8
- N states of prime number solution
- x86架构初探之8086
- ArcGIS license server administrator cannot start the workaround
- Visual studio 2019 installation and use
- 基于Labview上位机的51单片机步进电机控制系统(上位机代码+下位机源码+ad原理图+51完整开发环境)
- Paddleocr image text extraction
- 机器学习——朴素贝叶斯
猜你喜欢
随机推荐
Compression and acceleration technology of deep learning model (I): parameter pruning
“Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated
Chapter 1 numpy Foundation
Visual studio 2019 installation and use
第2章 Pytorch基础1
PyTorch 12. hook的用法
【点云系列】PnP-3D: A Plug-and-Play for 3D Point Clouds
Chapter 2 pytoch foundation 2
torch.where能否传递梯度
[dynamic programming] different paths 2
AUTOSAR从入门到精通100讲(八十六)-UDS服务基础篇之2F
armv8m(cortex m33) MPU实战
Systrace 解析
传输层重要知识(面试,复试,期末)
PyTorch 14. module类
scons 搭建嵌入式arm编译
Computer shutdown program
[dynamic programming] longest increasing subsequence
Machine learning III: classification prediction based on logistic regression
带您遨游太空,美摄科技为航天创意小程序提供全面技术支持