libcublas cannot be found cannot be found when I import tensorflow. THe problem is that on the specified path /usr/local/cuda-10.0/lib64 it exists such a file. I think I have set the environmental variables correctly.

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

Any ideas?

I am sorry please delete the post. It is posted on the wrong thread

You have to make sure it is correct, reviewing the installation guide:
If the program can’t find it, then there is still a problem with paths. In the same terminal you are compiling/running the program, do a “env | sort” and check that LD_LIBRARY_PATH currently points to the proper directory.
You can also create an empty program, link with -lcufft and see if it also complains when you run it.

I tried the env|sort and it points to the correct directory. I cannot understand what is wrong