Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Syntax #2

Open
rachhitgarg opened this issue Jul 21, 2018 · 0 comments
Open

Invalid Syntax #2

rachhitgarg opened this issue Jul 21, 2018 · 0 comments

Comments

@rachhitgarg
Copy link

C:\Users\metrics4>python squad_preprocess_raj.py
File "squad_preprocess_raj.py", line 221
maybe_download(squad_base_url, train_filename, download_prefix, 30288272L)
^
SyntaxError: invalid syntax

C:\Users\metrics4>python train.py
Traceback (most recent call last):
File "C:\Users\metrics4\AppData\Local\Programs\Python\Python36\lib\site-packag
es\tensorflow\python\platform\self_check.py", line 62, in preload_check
ctypes.WinDLL(build_info.nvcuda_dll_name)
File "C:\Users\metrics4\AppData\Local\Programs\Python\Python36\lib\ctypes_in
it
_.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "train.py", line 12, in
import tensorflow as tf
File "C:\Users\metrics4\AppData\Local\Programs\Python\Python36\lib\site-packag
es\tensorflow_init_.py", line 22, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-im
port
File "C:\Users\metrics4\AppData\Local\Programs\Python\Python36\lib\site-packag
es\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\metrics4\AppData\Local\Programs\Python\Python36\lib\site-packag
es\tensorflow\python\pywrap_tensorflow.py", line 30, in
self_check.preload_check()
File "C:\Users\metrics4\AppData\Local\Programs\Python\Python36\lib\site-packag
es\tensorflow\python\platform\self_check.py", line 70, in preload_check
% build_info.nvcuda_dll_name)
ImportError: Could not find 'nvcuda.dll'. TensorFlow requires that this DLL be i
nstalled in a directory that is named in your %PATH% environment variable. Typic
ally it is installed in 'C:\Windows\System32'. If it is not present, ensure that
you have a CUDA-capable GPU with the correct driver installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant