{"id":694,"date":"2016-04-08T08:31:28","date_gmt":"2016-04-08T14:31:28","guid":{"rendered":"http:\/\/www.gergltd.com\/home\/?p=694"},"modified":"2016-04-08T08:31:28","modified_gmt":"2016-04-08T14:31:28","slug":"installing-theano-in-windows-7-with-python-3-4","status":"publish","type":"post","link":"https:\/\/www.gergltd.com\/home\/installing-theano-in-windows-7-with-python-3-4\/","title":{"rendered":"Installing Theano in Windows 7 with Python 3.4"},"content":{"rendered":"<p>I recently\u00a0upgraded my machine learning toolchain\u00a0to keras and thought it would be a good time to revisit the ongoing theano + Python 3.4 + Windows 7 saga. \u00a0I found a simple set of instructions <a href=\"https:\/\/planetanacreon.wordpress.com\/2015\/10\/09\/install-theano-on-windows-8-1-with-visual-studio-2013-cuda-7-5\/\" target=\"_blank\">here <\/a>which I tweaked a bit to get to work with my setup. \u00a0Here are the full instructions:<\/p>\n<ol>\n<li>Install python 64bit<\/li>\n<li>Install precompiled whl from\u00a0<a href=\"http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\" target=\"_blank\">http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs<\/a>\n<ol>\n<li>Numpy+MKL library<\/li>\n<li>scipy<\/li>\n<\/ol>\n<\/li>\n<li>Get GCC from\u00a0<a href=\"http:\/\/tdm-gcc.tdragon.net\/\" target=\"_blank\">http:\/\/tdm-gcc.tdragon.net\/<\/a> (I usually have issues with GCC in Windows, however, this distribution works great out of the box believe it or not)<\/li>\n<li>Install theano via pip and\u00a0http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs<\/li>\n<li>At this point, when I tried to import theano into python 3.4, I would get linking errors. \u00a0I then installed libpython from\u00a0<a href=\"http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\" target=\"_blank\">http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs<\/a> and that resolved the issue.<\/li>\n<li>At the python shell, type import theano, it should work<\/li>\n<li>Configure your .theanorc.txt and you should be good to go.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I recently\u00a0upgraded my machine learning toolchain\u00a0to keras and thought it would be a good time to revisit the ongoing theano + Python 3.4 + Windows 7 saga. \u00a0I found a simple set of instructions here which I tweaked a bit to get to work with my setup. \u00a0Here are the full instructions: Install python 64bit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-694","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/posts\/694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/comments?post=694"}],"version-history":[{"count":1,"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/posts\/694\/revisions"}],"predecessor-version":[{"id":695,"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/posts\/694\/revisions\/695"}],"wp:attachment":[{"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/media?parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/categories?post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gergltd.com\/home\/wp-json\/wp\/v2\/tags?post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}