How did you install Theano? We only support installing Theano with our
conda package on Windows.

Le dim. 14 janv. 2018 10:32, Karin Westin <karin.westi...@gmail.com> a
écrit :

> Hi!
>
> I'm going through the theano tutorial, and when running the function
> theano.scan, I get the following error:
>
> Traceback (most recent call last):
>   File "C:\Users\Karin\Desktop\test.py", line 10, in <module>
>     results, updates = theano.scan(lambda v: T.tanh(T.dot(v, W) + b_sym),
> sequences=X)
>   File
> "C:\Users\Karin\AppData\Local\Programs\Python\Python36\lib\site-packages\theano\scan_module\scan.py",
> line 1005, in scan
>     from theano import gpuarray
>   File
> "C:\Users\Karin\AppData\Local\Programs\Python\Python36\lib\site-packages\theano\gpuarray\__init__.py",
> line 33, in <module>
>     from . import fft, dnn, opt, extra_ops, multinomial, reduction, sort,
> rng_mrg, ctc
>   File
> "C:\Users\Karin\AppData\Local\Programs\Python\Python36\lib\site-packages\theano\gpuarray\fft.py",
> line 14, in <module>
>     from .opt import register_opt, op_lifter, register_opt2
>   File
> "C:\Users\Karin\AppData\Local\Programs\Python\Python36\lib\site-packages\theano\gpuarray\opt.py",
> line 85, in <module>
>     from .linalg import (GpuCusolverSolve, MATRIX_STRUCTURES_SOLVE,
> GpuCholesky,
>   File
> "C:\Users\Karin\AppData\Local\Programs\Python\Python36\lib\site-packages\theano\gpuarray\linalg.py",
> line 5, in <module>
>     import pkg_resources
> ModuleNotFoundError: No module named 'pkg_resources'
>
> I'm on a Windows 7, Python 3.6.3, installed with Miniconda3, conda 4.4.7.
> Setuptools 38.4.0 is also installed using conda.
>
> Any what's wrong?
>
> --
>
> ---
> 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 theano-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to