Hi everyone,

Just wondering what is wrong with my Theano installation.

OS: macOS Sierra
Anaconda Python 3.6, version 4.4.0

After Theano is installed. I run the theano.test() and I have got the 
following errors.

In [2]: theano.test()

Theano version 0.9.0

theano is installed in 
/Users/jchan/anaconda/lib/python3.6/site-packages/theano

NumPy version 1.13.1

NumPy relaxed strides checking option: True

NumPy is installed in 
/Users/jchan/anaconda/lib/python3.6/site-packages/numpy

Python version 3.6.1 |Anaconda custom (x86_64)| (default, May 11 2017, 
13:04:09) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]

nose version 1.3.7

/Users/jchan/anaconda/lib/python3.6/site-packages/theano/misc/pycuda_init.py:35:
 
UserWarning: PyCUDA import failed in theano.misc.pycuda_init

  warnings.warn("PyCUDA import failed in theano.misc.pycuda_init")

/Users/jchan/anaconda/lib/python3.6/site-packages/theano/sandbox/gpuarray/__init__.py:10:
 
UserWarning: theano.sandbox.gpuarray has been moved to theano.gpuarray. 
Please update your code and pickles. If the warning persists, clear 
theano's cache ('$theano/bin/theano-cache clear').

  warnings.warn(message)

EE.EEEERROR (theano.gof.opt): Optimization failure due to: constant_folding

ERROR (theano.gof.opt): node: InplaceDimShuffle{x}(TensorConstant{2.0})

ERROR (theano.gof.opt): TRACEBACK:

ERROR (theano.gof.opt): Traceback (most recent call last):

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/opt.py", line 
1982, in process_node

    replacements = lopt.transform(node)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/tensor/opt.py", 
line 6450, in constant_folding

    no_recycling=[], impl=impl)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/op.py", line 
935, in make_thunk

    no_recycling)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/op.py", line 
839, in make_c_thunk

    output_storage=node_output_storage)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/cc.py", line 
1190, in make_thunk

    keep_lock=keep_lock)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/cc.py", line 
1131, in __compile__

    keep_lock=keep_lock)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/cc.py", line 
1586, in cthunk_factory

    key=key, lnk=self, keep_lock=keep_lock)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/cmodule.py", 
line 1159, in module_from_key

    module = lnk.compile_cmodule(location)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/cc.py", line 
1489, in compile_cmodule

    preargs=preargs)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/cmodule.py", 
line 2325, in compile_str

    return dlimport(lib_filename)

  File 
"/Users/jchan/anaconda/lib/python3.6/site-packages/theano/gof/cmodule.py", 
line 302, in dlimport

    rval = __import__(module_name, {}, {}, [module_name])

ImportError: 
dlopen(/Users/jchan/.theano/compiledir_Darwin-16.6.0-x86_64-i386-64bit-i386-3.6.1-64/tmpq3tmp6i5/m66ca6565a50f51a1d42a23dd2f3879e3.so,
 
2): Symbol not found: __ZNSt8ios_base4InitD1Ev

  Referenced from: 
/Users/jchan/.theano/compiledir_Darwin-16.6.0-x86_64-i386-64bit-i386-3.6.1-64/tmpq3tmp6i5/m66ca6565a50f51a1d42a23dd2f3879e3.so

  Expected in: flat namespace


Any idea how to fix this?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to