标签:com 版本 方法 include bsp gre alt txt 位置
刷机后在Xavier上安装了python,CUDA,cudnn,OpenCV和TensorRT,查看他们的版本。
1. python
Xavier上python2和python3都有。
#查看python2版本 python -V #查看python3版本 python3 -V

2. CUDA
下面这两种方法都可以的。
cat /usr/local/cuda/version.txt
nvcc -V

3. cudnn
cudnn在Xavier上的位置与一般Ubuntu上的位置是不同的。
cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2

4. OpenCV
pkg-config --modversion opencv

5. TensorRT
dpkg -l | grep TensorRT
标签:com 版本 方法 include bsp gre alt txt 位置
原文地址:https://www.cnblogs.com/gloria-zhang/p/12809829.html