Hitting ImportError: libcublas.so.9.0: when running Step 2 for leaderboard uploading

40 views
Skip to first unread message

yulingc...@gmail.com

unread,
Jul 6, 2020, 7:50:39 PM7/6/20
to SQuAD - The Stanford Question Answering Dataset
Hi All,

I'm hitting the following errors when trying to run Step 2 (
cl run :dev-v2.0.json :src "python src/<path-to-prediction-program> dev-v2.0.json predictions.json" -n run-predictions)

Traceback (most recent call last):
  File "src/run_squad.py", line 28, in <module>
    import tensorflow as tf
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory


I was able to run
python src/<path-to-prediction-program> dev-v2.0.json predictions.json

command from my own laptop.

Thanks,
YuLing
Reply all
Reply to author
Forward
0 new messages