ImportError: cannot open shared object file: No such file or directory

This is the error I get when running a script using TensorFlow and pycuda.
The script worked fine before, the error gets thrown ever since I rebooted my jetson Nano.
Is there an easy fix for this ?

I am making some significant assumptions here, so please beware I could be wrong.

Normally the file is named after the L4T release version on a Jetson, e.g., 32.4.2 is one such valid release. The number “440.18” makes me believe you somehow got hold of the desktop PC driver instead of the Jetson driver. PC drivers are not compatible with Jetsons, but 440.18 has never been released for anything but data center or PC.

Is it possible you’ve installed a driver or software manually which was not via either “sudo apt-get install ...” or via the SDKM installer? If this is the case, then there is no possibility of fixing this without reverting out the incorrect software.


Could you check if the file still exists in your environment first?
For Nano+JetPack4.4.1, I can find it under the /usr/lib/aarch64-linux-gnu/tegra/ folder.

$ sudo find / -iname*
find: ‘/run/user/120/gvfs’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied