tx2 安裝 numba

安裝numba時一定要輸入如下指令:

pip install numba==0.29.0 llvmlite==0.15.0

如果只輸入

pip install numba==0.29.0

報錯:

> Command "/usr/bin/python -u -c "import setuptools,
> tokenize;__file__='/tmp/pip-install-5ZcF2q/llvmlite/setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install
> --record /tmp/pip-record-TJA21u/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-5ZcF2q/llvmlite/

這個可以試試:

https://github.com/seibert/jetconda/releases/tag/v1.0.0-tx2

https://anaconda.org/jetson-tx2

Numba 0.37 is the latest one in the jetson-tx2 channel.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章