A
A
alex-bul2019-10-28 17:37:33
Python
alex-bul, 2019-10-28 17:37:33

How to solve problem with tensorflow?

I wanted to install this program , but after launching I ran into a problem

Traceback (most recent call last):
  File "C:\Users\ASUS\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\platform\self_check.py", line 75, in preload_check
    ctypes.WinDLL(build_info.cudart_dll_name)
  File "C:\Users\ASUS\AppData\Local\Programs\Python\Python37\lib\ctypes\__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Не найден указанный модуль

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "demo_toolbox.py", line 2, in <module>
    from toolbox import Toolbox
  File "C:\Users\ASUS\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\toolbox\__init__.py", line 3, in <module>
    from synthesizer.inference import Synthesizer
  File "C:\Users\ASUS\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\inference.py", line 1, in <module>
    from synthesizer.tacotron2 import Tacotron2
  File "C:\Users\ASUS\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\tacotron2.py", line 3, in <module>
    from synthesizer.models import create_model
  File "C:\Users\ASUS\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\models\__init__.py", line 1, in <module>
    from .tacotron import Tacotron
  File "C:\Users\ASUS\Downloads\Real-Time-Voice-Cloning-master\Real-Time-Voice-Cloning-master\synthesizer\models\tacotron.py", line 1, in <module>
    import tensorflow as tf
  File "C:\Users\ASUS\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\__init__.py", line 28, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "C:\Users\ASUS\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\ASUS\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 30, in <module>
    self_check.preload_check()
  File "C:\Users\ASUS\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\platform\self_check.py", line 82, in preload_check
    % (build_info.cudart_dll_name, build_info.cuda_version_number))
ImportError: Could not find 'cudart64_100.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 10.0 from this URL: https://developer.nvidia.com/cuda-90-download-archive

I tried to install CUDA from the link, but after installation, the CUDA files are completely deleted along with the folder. I searched all the forums, documentation, but did not find the answer. Weakly already believe that I will fix the problem, but I hope that you will help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2019-10-29
@freeExec

Just manually extract the required libraries from the CUDA distribution

cublas64_100.dll
cudart64_100.dll
cudnn64_7.dll
cufft64_100.dll
cufftw64_100.dll
curand64_100.dll
cusolver64_100.dll
cusparse64_100.dll
nvcuda64.dll

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question