Hi~nouiz, thank you for your reply, I removed the pip version of theano, and use conda install theano but it comes error: "PackageNotFoundError: Package not found: Conda could not find ' "
I wonder if it's because there are two versions of python that leads to import error... (python 2.7.13-win32 in cmd window & python 2.7.12-win64 in Spder) 在 2017年4月8日星期六 UTC+8上午6:34:24,nouiz写道: > > Try to install Theano via conda. This is new. > > Conda install Theano > > Remove the pip version of Theano before. > > Le ven. 7 avr. 2017 09:30, <[email protected] <javascript:>> a écrit : > >> Hello,everyone~ I am new in python and theano. I really need install >> theano on Win10. >> While I used anaconda2 and pip install theano, conda install mingw >> libpython, and configurated environment variables, >> then I input >> import theano >> in cmd window python environment,it comes: >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> ImportError: No module named theano >> >> >> <https://lh3.googleusercontent.com/-TyNQ0dXduT0/WOeSRzbXmEI/AAAAAAAAAAM/x0PWAdRjpuIe_ntJYry-57qgeZxzH0AewCLcB/s1600/%25E6%258D%2595%25E8%258E%25B72.PNG> >> >> >> >> I use Ipython console in Spyder, it comes: >> import theano >> Traceback (most recent call last): >> >> File "<ipython-input-1-3397704bd624>", line 1, in <module> >> import theano >> >> File "E:\Anaconda\lib\site-packages\theano\__init__.py", line 66, in >> <module> >> from theano.compile import ( >> >> File "E:\Anaconda\lib\site-packages\theano\compile\__init__.py", line >> 10, in <module> >> from theano.compile.function_module import * >> >> File "E:\Anaconda\lib\site-packages\theano\compile\function_module.py", >> line 18, in <module> >> from theano import config, gof >> >> ImportError: cannot import name gof >> >> >> <https://lh3.googleusercontent.com/-iuyKQTZtoQ0/WOeSp41Mx8I/AAAAAAAAAAQ/oIdieXm3auQdiw1hby-2WfJLLIHwz1xBwCLcB/s1600/%25E6%258D%2595%25E8%258E%25B73.PNG> >> >> >> <https://lh3.googleusercontent.com/-Kd3e3MRTCbA/WOeTHSy5R4I/AAAAAAAAAAU/RSyftpR2VlsFN_CirTwPMuJwd_2wv7ZhwCLcB/s1600/%25E6%258D%2595%25E8%258E%25B71.PNG> >> >> >> Here is my system environment variable Path : >> >> I also added PYTHONPATH E:\Anaconda\Lib\site-packages\theano in system >> environment , and created a .theanorc.txt file at user directory. >> >> I tried uninstall theano and re-install theano many times, but it didn't >> work. >> >> Can you help me to solve this problem ? Thank you. >> >> -- >> >> --- >> 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] <javascript:>. >> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
