TX2上安裝pycuda死活按不上,源碼安裝、教程都試過還是不行。miniconda不支持aarch64架構很不習慣。archiconda就是將conda移植到aarch64平臺上。項目地址:https://github.com/Archiconda/build-tools,直接下載編譯好的sh文件:https://github.com/Archiconda/build-tools/releases。
下載之後就和普通的anaconda一模一樣。當用conda install時,所安裝的package只會考慮conda-forge, c4aarch64等幾個特定的channel。如果這些channel都沒有的話,用conda install仍然是裝不上的,但仍還可以用pip從源碼編譯安裝。
安裝好環境,執行pip install pycuda,問題解決。