说一下Ubuntu 安装TensorRt辛酸历程,一路跟着教程来的,最后pip list已经包含了tensorrt,但是在python里import失败,本以为是环境变量的原因,改了也不行,同事提醒提升文件夹权限,完了就ok了。
命令是下边这个
sudo chmod 777 ××× (每个人都有读和写以及执行的权限)
说一下Ubuntu 安装TensorRt辛酸历程,一路跟着教程来的,最后pip list已经包含了tensorrt,但是在python里import失败,本以为是环境变量的原因,改了也不行,同事提醒提升文件夹权限,完了就ok了。
命令是下边这个
sudo chmod 777 ××× (每个人都有读和写以及执行的权限)