Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Error when import theano. #42

Closed
LvJC opened this issue May 28, 2018 · 1 comment
Closed

Error when import theano. #42

LvJC opened this issue May 28, 2018 · 1 comment

Comments

@LvJC
Copy link

LvJC commented May 28, 2018

Error occured when import theano in python

>>> import theano
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/theano/__init__.py", line 156, in <module>
    import theano.gpuarray
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/__init__.py", line 33, in <module>
    from . import fft, dnn, opt, extra_ops, multinomial, reduction, sort, rng_mrg, ctc
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/fft.py", line 14, in <module>
    from .opt import register_opt, op_lifter, register_opt2
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/opt.py", line 2801, in <module>
    from .dnn import (local_abstractconv_cudnn,
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/dnn.py", line 339, in <module>
    handle_type = CUDNNDataType('cudnnHandle_t', 'cudnnDestroy')
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/dnn.py", line 259, in CUDNNDataType
    version=version(raises=False))
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/dnn.py", line 319, in version
    if not dnn_present():
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/dnn.py", line 209, in dnn_present
    dnn_present.avail, dnn_present.msg = _dnn_check_version()
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/dnn.py", line 180, in _dnn_check_version
    v = version()
  File "/usr/local/lib/python3.6/dist-packages/theano/gpuarray/dnn.py", line 334, in version
    "while the library is version %s." % v)
RuntimeError: Mixed dnn version. The header is version 7104 while the library is version 7102.
@ufoym
Copy link
Owner

ufoym commented May 28, 2018

@LvJC Try

docker pull ufoym/deepo:<tag>

to replace your deepo image with its newer version?
Feel free to reopen if it doesn't work.

@ufoym ufoym closed this as completed May 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants