Q:

libcuda.so.1: cannot open shared object file: No such file or directory

sudo apt-get install libatlas-base-dev
1
pyttsx3 problem:
It's because you don't have espeak installed on your system. That's why it is giving error

sudo apt-get update && sudo apt-get install espeak
1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64/
0
# See where the link is pointing.  
ls  /usr/lib/x86_64-linux-gnu/libcuda.so.1 -la
# My result:
# lrwxrwxrwx 1 root root 19 Feb 22 20:40 \
# /usr/lib/x86_64-linux-gnu/libcuda.so.1 -> ./libcuda.so.375.39

# Make sure it is pointing to the right version. 
# Compare it with the installed NVIDIA driver.
nvidia-smi

# Replace libcuda.so.1 with a link to the correct version
cd /usr/lib/x86_64-linux-gnu
sudo ln -f -s libcuda.so.<yournvidia.version> libcuda.so.1
0
sudo apt-get update && sudo apt-get install espeak
1
sudo apt-get update
sudo apt-get install libglib2.0-0
1

New to Communities?

Join the community