under the successful installation Anaconda,First, install MinGW:Open prompt--Input:Conda config--add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/--in input: Conda config--set show_cha Nnel_urls yes--
last input: Conda install MinGW Libpython (so the purpose of the installation is to download more quickly)Second,OpenPrompt, you will see a path inside the window, depending on your path, locate the corresponding directory, and create a new text document in the directory. Theanorc.txt (Note that there are two ".", but also note that TXT files, some systems hide the suffix name, resulting in txt duplicates) in the file inside write: [Global] openmp=false [Blas] ldflags= [GCC]
Cxxflags=-ic:\anaconda\mingw(Note: The address under your MinGW folder)again, once installedTheano andKeras, inprompt underpip install Theano andpip Install Keras can complete the installation. about the environment configuration problem, My ComputerCreate a new variable in a user variable pythonpath, but there isTheano importerror:cannot import name ' Configparser ' problem, online look up the reason to suggest that this configuration is removed. Finally, talk about Keras back-end switching (Theano or TensorFlow)
The newly installed Keras will find the default backend is TensorFlowin C:\Users\miclover (Micloveris my windos user name) there's a folder under it.. Keras, Inside thereKeras.jsonfile, change the contents of the inside is good, if there is no folder and files, manually created on the line. {" Image_data_format": "Channels_first"," floatx": "Float32","Epsilon": 1e-07," backend": "Theano"}at this point, the installation is complete. Reference Blog: http://www.cnblogs.com/CQUTWH/p/5974685.htmlhttp://blog.csdn.net/thinking_boy1992/article/details/53256602
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.