1.小白想在win10 home上用theano。网上搜索教程,安装anaconda3(当前用户,我就这一个用户)后,conda install mingw libpython。看起来没有问题,然后环境变量也配置了。然后conda install theano,接着从cmd进入ipython后,import theano出错。
2.我认为装的对的图,贴一些,万一有错,请各位前辈赐教。
theano:
环境变量:
3.错误的图:
4.感觉自己少东西
因为,我看最后一句说不能import:
然后打开看了一下configparser.py:
然后我发现这个目录下面:
没有上面所说的configparser。所以我想是不是我前面装的方法不对,少了东西?
5.各路大神有其他可行的使用theano的办法告诉我也行,十分感谢!
It seems like you are using Python3.6
theano0.9 currently does not support Python3.6
I followed what the senior above said (it’s too embarrassing, I only noticed python version 2.7, not 3.5 or less...), and changed to anaconda version, 4.1.1, which contains python3.5 . But when importing theano, there is still no such directory. However, the file address in the error message that I mainly noticed starts with zhang and tianqi, both of which appear, but there is no such path under my win.
Ken! Certainly! It’s Microsoft’s idiot! There is a space between zhang and tianqi in my user folder zhangtianqi! ! Damn it, just change it! import theano executes perfectly!
I am win home and I don’t know why there is no user item in computer management. I have to log in from Settings-Account-Local Account, then remove the spaces in the user folder zhang tianqi in regedit, and then change it in c:/user folder name. You ask me why I don’t change this first? How do I know? You can’t change it at first! And after I switched back, there were multiple zhang tianqi files with spaces in the user directory. The obsessive-compulsive disorder meant that I was going to be forced to death. I hope this will not affect other operations in the future. This post ends, thank you for your guidance.