check cuda version in conda code example Example 1: conda check cuda version conda list cudatoolkit Example 2: conda check cuda version nvcc --version