Could not load dynamic library 'libcupti.so.11.0'; dlerror: libcupti.so.11.0: cannot open shared object file
1. /opt/cuda/extras/CUPTI/lib64
2. ~/.bashrc
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/cuda/extras/CUPTI/lib64
export CUDA_HOME=/opt/cuda
export CUDA_HOME=/opt/cuda
source .bashrc
3.ImportError: /opt/cuda/extras/CUPTI/lib64/libcupti.so.11.5: version `libcupti.so.11.5' not found (required by /usr/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so)
4.cd /usr/lib/python3.10/site-packages/torch/lib/
ldd libtorch.so
1 ./libtorch.so: /opt/cuda/extras/CUPTI/lib64/libcupti.so.11.5: version `libcupti.so.11.5' not found (required by /usr/lib/python3.10/site-packages/torch/lib/./libtorch_cpu.so) 2 linux-vdso.so.1 (0x00007ffc8b5d5000) 3 libtorch_cpu.so => /usr/lib/python3.10/site-packages/torch/lib/./libtorch_cpu.so (0x00007f15c1fb4000) 4 libtorch_cuda.so => /usr/lib/python3.10/site-packages/torch/lib/./libtorch_cuda.so (0x00007f157e5e4000) 5 libc.so.6 => /usr/lib/libc.so.6 (0x00007f157e3ee000) 6 libgomp.so.1 => /usr/lib/libgomp.so.1 (0x00007f157e3aa000) 7 libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f157e389000) 8 libprotobuf.so.30 => /usr/lib/libprotobuf.so.30 (0x00007f157e09b000) 9 libopencv_highgui.so.405 => /usr/lib/libopencv_highgui.so.405 (0x00007f157e03e000) 10 libopencv_optflow.so.405 => /usr/lib/libopencv_optflow.so.405 (0x00007f157dfd6000) 11 libopencv_videoio.so.405 => /usr/lib/libopencv_videoio.so.405 (0x00007f157df4c000) 12 libavcodec.so.58 => /usr/lib/libavcodec.so.58 (0x00007f157cb13000) 13 libavformat.so.58 => /usr/lib/libavformat.so.58 (0x00007f157c879000) 14 libavutil.so.56 => /usr/lib/libavutil.so.56 (0x00007f157c5cc000) 15 libswscale.so.5 => /usr/lib/libswscale.so.5 (0x00007f157c53a000) 16 libswresample.so.3 => /usr/lib/libswresample.so.3 (0x00007f157c51b000) 17 librt.so.1 => /usr/lib/librt.so.1 (0x00007f157c510000) 18 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f157c4f5000) 19 libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f157c4ee000) 20 libmkl_intel_lp64.so => /opt/intel/mkl/lib/intel64/libmkl_intel_lp64.so (0x00007f157b7cc000) 21 libmkl_gnu_thread.so => /opt/intel/mkl/lib/intel64/libmkl_gnu_thread.so (0x00007f1579a6c000) 22 libmkl_core.so => /opt/intel/mkl/lib/intel64/libmkl_core.so (0x00007f157542b000) 23 libm.so.6 => /usr/lib/libm.so.6 (0x00007f15752e7000) 24 libopencv_ximgproc.so.405 => /usr/lib/libopencv_ximgproc.so.405 (0x00007f1575093000) 25 libopencv_imgcodecs.so.405 => /usr/lib/libopencv_imgcodecs.so.405 (0x00007f1575039000) 26 libopencv_video.so.405 => /usr/lib/libopencv_video.so.405 (0x00007f1574fb1000) 27 libopencv_dnn.so.405 => /usr/lib/libopencv_dnn.so.405 (0x00007f1574b97000) 28 libopencv_calib3d.so.405 => /usr/lib/libopencv_calib3d.so.405 (0x00007f157494d000) 29 libopencv_features2d.so.405 => /usr/lib/libopencv_features2d.so.405 (0x00007f1574879000) 30 libopencv_imgproc.so.405 => /usr/lib/libopencv_imgproc.so.405 (0x00007f1572cee000) 31 libopencv_flann.so.405 => /usr/lib/libopencv_flann.so.405 (0x00007f1572c61000) 32 libopencv_core.so.405 => /usr/lib/libopencv_core.so.405 (0x00007f1571c80000) 33 libcudart.so.11.0 => /opt/cuda/lib64/libcudart.so.11.0 (0x00007f15719dc000) 34 libuv.so.1 => /usr/lib/libuv.so.1 (0x00007f15719aa000) 35 libcupti.so.11.5 => /opt/cuda/extras/CUPTI/lib64/libcupti.so.11.5 (0x00007f15710ff000) 36 libc10.so => /usr/lib/python3.10/site-packages/torch/lib/./libc10.so (0x00007f1571098000) 37 libglog.so.0 => /usr/lib/libglog.so.0 (0x00007f1571063000) 38 libgflags.so.2.2 => /usr/lib/libgflags.so.2.2 (0x00007f1571038000) 39 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1570e22000) 40 /usr/lib64/ld-linux-x86-64.so.2 (0x00007f15cb845000) 41 libc10_cuda.so => /usr/lib/python3.10/site-packages/torch/lib/./libc10_cuda.so (0x00007f1570dce000) 42 libcusparse.so.11 => /opt/cuda/lib64/libcusparse.so.11 (0x00007f1562c40000) 43 libcurand.so.10 => /opt/cuda/lib64/libcurand.so.10 (0x00007f155d050000) 44 libcusolver.so.11 => /opt/cuda/lib64/libcusolver.so.11 (0x00007f154cb9a000) 45 libmagma.so => /usr/lib/libmagma.so (0x00007f152fafe000) 46 libnccl.so.2 => /usr/lib/libnccl.so.2 (0x00007f151b703000) 47 libnvToolsExt.so.1 => /opt/cuda/lib64/libnvToolsExt.so.1 (0x00007f151b4f9000) 48 libcufft.so.10 => /opt/cuda/lib64/libcufft.so.10 (0x00007f1512a6c000) 49 libcublas.so.11 => /opt/cuda/lib64/libcublas.so.11 (0x00007f1508ff8000) 50 libcudnn.so.8 => /usr/lib/libcudnn.so.8 (0x00007f1508dce000) 51 libz.so.1 => /usr/lib/libz.so.1 (0x00007f1508db4000) 52 libQt5Test.so.5 => /usr/lib/libQt5Test.so.5 (0x00007f1508d5e000) 53 libQt5OpenGL.so.5 => /usr/lib/libQt5OpenGL.so.5 (0x00007f1508d03000) 54 libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f1508648000) 55 libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f1507fdf000) 56 libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f1507ac1000) 57 libdc1394.so.25 => /usr/lib/libdc1394.so.25 (0x00007f1507a47000) 58 libgstbase-1.0.so.0 => /usr/lib/libgstbase-1.0.so.0 (0x00007f15079c5000) 59 libgstreamer-1.0.so.0 => /usr/lib/libgstreamer-1.0.so.0 (0x00007f150787b000) 60 libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f1507820000) 61 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f15076e2000) 62 libgstapp-1.0.so.0 => /usr/lib/libgstapp-1.0.so.0 (0x00007f15076d0000) 63 libgstriff-1.0.so.0 => /usr/lib/libgstriff-1.0.so.0 (0x00007f15076bf000) 64 libgstpbutils-1.0.so.0 => /usr/lib/libgstpbutils-1.0.so.0 (0x00007f1507680000) 65 libgstaudio-1.0.so.0 => /usr/lib/libgstaudio-1.0.so.0 (0x00007f1507603000) 66 libgstvideo-1.0.so.0 => /usr/lib/libgstvideo-1.0.so.0 (0x00007f150754d000) 67 libvpx.so.7 => /usr/lib/libvpx.so.7 (0x00007f1507242000) 68 libwebpmux.so.3 => /usr/lib/libwebpmux.so.3 (0x00007f1507235000) 69 libwebp.so.7 => /usr/lib/libwebp.so.7 (0x00007f15071c7000) 70 liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f150719e000) 71 libdav1d.so.5 => /usr/lib/libdav1d.so.5 (0x00007f1507018000) 72 libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x00007f1507002000) 73 librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0x00007f1506720000) 74 libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f1506601000) 75 libaom.so.3 => /usr/lib/libaom.so.3 (0x00007f1505e87000) 76 libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007f1505e78000) 77 libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007f1505e00000) 78 libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x00007f1505dd4000) 79 libopenjp2.so.7 => /usr/lib/libopenjp2.so.7 (0x00007f1505d70000) 80 libopus.so.0 => /usr/lib/libopus.so.0 (0x00007f1505d12000) 81 librav1e.so.0 => /usr/lib/librav1e.so.0 (0x00007f1505ac0000) 82 libspeex.so.1 => /usr/lib/libspeex.so.1 (0x00007f1505aa5000) 83 libSvtAv1Enc.so.0 => /usr/lib/libSvtAv1Enc.so.0 (0x00007f14fd2da000) 84 libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x00007f14fd2a1000) 85 libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x00007f14fd286000) 86 libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f14fd258000) 87 libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f14fd1ad000) 88 libx264.so.163 => /usr/lib/libx264.so.163 (0x00007f14fceed000) 89 libx265.so.199 => /usr/lib/libx265.so.199 (0x00007f14fbc57000) 90 libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007f14fbb48000) 91 libva.so.2 => /usr/lib/libva.so.2 (0x00007f14fbb19000) 92 libmfx.so.1 => /usr/lib/libmfx.so.1 (0x00007f14fbb0a000) 93 libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f14fb980000) 94 libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f14fb96d000) 95 libmodplug.so.1 => /usr/lib/libmodplug.so.1 (0x00007f14fb7dd000) 96 libbluray.so.2 => /usr/lib/libbluray.so.2 (0x00007f14fb788000) 97 libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f14fb6e8000) 98 libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007f14fb4f9000) 99 libsrt.so.1.4 => /usr/lib/libsrt.so.1.4 (0x00007f14fb41e000) 100 libssh.so.4 => /usr/lib/libssh.so.4 (0x00007f14fb3b1000) 101 libva-drm.so.2 => /usr/lib/libva-drm.so.2 (0x00007f14fb3ac000) 102 libva-x11.so.2 => /usr/lib/libva-x11.so.2 (0x00007f14fb3a2000) 103 libvdpau.so.1 => /usr/lib/libvdpau.so.1 (0x00007f14fb39d000) 104 libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f14fb25b000) 105 libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007f14fb244000) 106 libsoxr.so.0 => /usr/lib/libsoxr.so.0 (0x00007f14fb1c2000) 107 libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f14fb12e000) 108 libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f14fb0f7000) 109 libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007f14fb063000) 110 libOpenEXR-3_1.so.30 => /usr/lib/libOpenEXR-3_1.so.30 (0x00007f14fad53000) 111 libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f14faccd000) 112 liblapack.so.3 => /usr/lib/liblapack.so.3 (0x00007f14fa601000) 113 libcblas.so.3 => /usr/lib/libcblas.so.3 (0x00007f14fa5e2000) 114 libtbb.so.12 => /usr/lib/libtbb.so.12 (0x00007f14fa591000) 115 libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f14fa58c000) 116 libcublasLt.so.11 => /opt/cuda/lib64/libcublasLt.so.11 (0x00007f14e5002000) 117 libblas.so.3 => /usr/lib/libblas.so.3 (0x00007f14e4fa9000) 118 libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f14e4ecc000) 119 libmd4c.so.0 => /usr/lib/libmd4c.so.0 (0x00007f14e4eb6000) 120 libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f14e4dda000) 121 libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x00007f14e4dc4000) 122 libicui18n.so.70 => /usr/lib/libicui18n.so.70 (0x00007f14e4a9c000) 123 libicuuc.so.70 => /usr/lib/libicuuc.so.70 (0x00007f14e48a0000) 124 libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007f14e4813000) 125 libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f14e4764000) 126 libraw1394.so.11 => /usr/lib/libraw1394.so.11 (0x00007f14e4752000) 127 libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007f14e4734000) 128 libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f14e472b000) 129 libunwind.so.8 => /usr/lib/libunwind.so.8 (0x00007f14e4711000) 130 libdw.so.1 => /usr/lib/libdw.so.1 (0x00007f14e467c000) 131 libffi.so.8 => /usr/lib/libffi.so.8 (0x00007f14e4670000) 132 libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f14e45f9000) 133 libgsttag-1.0.so.0 => /usr/lib/libgsttag-1.0.so.0 (0x00007f14e45b8000) 134 liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007f14e4531000) 135 libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007f14e4525000) 136 libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f14e44df000) 137 libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f14e4315000) 138 libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f14e4304000) 139 libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f14e429c000) 140 libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f14e424d000) 141 libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f14e4182000) 142 libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f14e416d000) 143 libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f14e4160000) 144 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f14e4136000) 145 libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f14e4124000) 146 libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f14e411f000) 147 libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f14e4077000) 148 libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f14e406c000) 149 libmvec.so.1 => /usr/lib/libmvec.so.1 (0x00007f14e4040000) 150 libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007f14e3f0b000) 151 libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007f14e3ee9000) 152 libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f14e3d67000) 153 libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007f14e3d51000) 154 libnettle.so.8 => /usr/lib/libnettle.so.8 (0x00007f14e3d0a000) 155 libhogweed.so.6 => /usr/lib/libhogweed.so.6 (0x00007f14e3cc1000) 156 libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f14e39de000) 157 libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f14e39d5000) 158 libImath-3_1.so.29 => /usr/lib/libImath-3_1.so.29 (0x00007f14e3982000) 159 libIlmThread-3_1.so.30 => /usr/lib/libIlmThread-3_1.so.30 (0x00007f14e3979000) 160 libIex-3_1.so.30 => /usr/lib/libIex-3_1.so.30 (0x00007f14e38fa000) 161 libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f14e3840000) 162 libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f14e380d000) 163 libgfortran.so.5 => /usr/lib/libgfortran.so.5 (0x00007f14e3551000) 164 libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f14e352c000) 165 liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f14e3509000) 166 libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f14e34fb000) 167 libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f14e33bf000) 168 libicudata.so.70 => /usr/lib/libicudata.so.70 (0x00007f14e17a3000) 169 libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f14e1776000) 170 libelf.so.1 => /usr/lib/libelf.so.1 (0x00007f14e175b000) 171 libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f14e1716000) 172 libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f14e16fc000) 173 libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f14e16e3000) 174 libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f14e16c3000) 175 libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f14e16b8000) 176 libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f14e1688000) 177 libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f14e1678000) 178 libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f14e1673000) 179 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f14e166b000) 180 libquadmath.so.0 => /usr/lib/../lib/libquadmath.so.0 (0x00007f14e1620000) 181 libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f14e15f7000) 182 libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f14e15bf000) 183 libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f14e15b5000) 184 libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f14e1592000)
35th line
5. version
人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。