Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'theano.tensor' has no attribute 'slinalg' #6211

Closed
ferrine opened this issue Jul 30, 2017 · 6 comments
Closed

AttributeError: module 'theano.tensor' has no attribute 'slinalg' #6211

ferrine opened this issue Jul 30, 2017 · 6 comments

Comments

@ferrine
Copy link
Contributor

ferrine commented Jul 30, 2017

I was using the following code previously without any error but now I have problems

import theano.tensor as tt
tt.slinalg
 > AttributeError: module 'theano.tensor' has no attribute 'slinalg'
@nouiz
Copy link
Member

nouiz commented Jul 31, 2017 via email

@lamblin
Copy link
Member

lamblin commented Jul 31, 2017

Or maybe you need to import theano.tensor.slinalg explicitly?

@ferrine
Copy link
Contributor Author

ferrine commented Jul 31, 2017

pip install -U git+https://github.com/Theano/Theano does not help I get another error instead:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/ferres/.pyenv/versions/3.6.0/envs/pymc3-py3/lib/python3.6/site-packages/theano/tensor/c_code/dimshuffle.c'

@ferrine
Copy link
Contributor Author

ferrine commented Jul 31, 2017

cloning the whole project and pip install -e .seems to resolve FileNotFoundError problem (direct install still does not work). The main problem with slinalg still occurs

@nouiz
Copy link
Member

nouiz commented Aug 1, 2017 via email

@ferrine
Copy link
Contributor Author

ferrine commented Aug 2, 2017

That works, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants