theano cause an error

20 views
Skip to first unread message

宮本剛

unread,
Jun 30, 2019, 10:56:11 PM6/30/19
to theano-users
Hi.

Theano causes an error as follows:

  File "C:\ProgramData\Anaconda3\lib\site-packages\theano\sparse\__init__.py", l
ine 18, in <module>
    from theano.sparse.type import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\theano\sparse\type.py", line
30, in <module>
    class SparseType(gof.Type):
  File "C:\ProgramData\Anaconda3\lib\site-packages\theano\sparse\type.py", line
53, in SparseType
    format_cls = {'csr': scipy.sparse.csr_matrix,
AttributeError: module 'scipy.sparse' has no attribute 'csr_matrix'

Is there any suggestion?

Thanks.


宮本剛

unread,
Jul 30, 2019, 8:51:01 PM7/30/19
to theano-users
I installed correct scipy package then no more error.

Thanks.
Reply all
Reply to author
Forward
0 new messages