{"id":79942,"date":"2020-10-10T09:00:17","date_gmt":"2020-10-10T03:30:17","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=79942"},"modified":"2020-10-10T09:00:17","modified_gmt":"2020-10-10T03:30:17","slug":"keras-installation","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/","title":{"rendered":"Keras Installation and Environment Setup"},"content":{"rendered":"<p>Keras is one of the most popular Python libraries. It is having high demand these days as it is straight-forward and simple. It is a high-level API that does not perform low-level computations. Keras runs on the TensorFlow and Theano.<\/p>\n<p>It is handy for Deep Learning and focuses on the idea of Models. Keras is an open-source Python library. It is very easy and effortless to download. It is easily and freely available. You can download Keras with no efforts.<\/p>\n<p>Let us learn Keras installation in easy steps.<\/p>\n<h3>Keras Installation and Environment setup<\/h3>\n<h4>Step 1: Install Python<\/h4>\n<p>It is the primary task to install Python in your system. Python is an open-source language. It is easily available. <a href=\"https:\/\/www.python.org\/downloads\/windows\/\">Download Python<\/a> now.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35711.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80003\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35711.png\" alt=\"Download python\" width=\"1216\" height=\"696\" \/><\/a><\/p>\n<p>Click on Latest Python 3 Release \u2013 Python 3.8.2. This link will help you to download the latest version of Python.<\/p>\n<h4>Step 2: Now, Open the Command Prompt<\/h4>\n<p>In this step, open the command prompt. Run the command prompt as an administrator.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35811.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80004\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35811.png\" alt=\"command prompt for keras installation\" width=\"1327\" height=\"660\" \/><\/a><\/p>\n<p>Running the command prompt as an administrator will enable you to make changes in your system. It will ask you permission to make changes to your system. So, give it permission by pressing the \u2018Yes\u2019 button.<\/p>\n<h4>Step 3: Now, type \u2018pip\u2019 in Command Prompt<\/h4>\n<p>Type \u2018pip\u2019 as a command in the command prompt. It will help you to check whether Python is installed or not.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35111.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80005\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35111.png\" alt=\"pip command to install Keras\" width=\"1348\" height=\"705\" \/><\/a><\/p>\n<p>After typing \u2018pip\u2019 in the command prompt, you will see many functions executing. Wait, till the functions execute.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35211.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80006\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35211.png\" alt=\"Pip command in keras\" width=\"1349\" height=\"712\" \/><\/a><\/p>\n<h4>Step 4: Write \u2018pip install tensorflow==1.8\u2019 in Command Prompt<\/h4>\n<p>Being the fact that Keras runs on the top of Keras. You need to install TensorFlow first.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35311.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80007\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35311.png\" alt=\"Tensorflow installation\" width=\"1347\" height=\"704\" \/><\/a><\/p>\n<p>After typing this command, you will see many functions executing. Tensorboard, termcolor, numpy, wheel, etc are the functions that will be executed. You can many commands and functions executing in the image below.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-359.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80008\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-359.png\" alt=\"install tensorflow\" width=\"1345\" height=\"702\" \/><\/a><\/p>\n<h4>Step 5: Write \u2018pip install keras\u2019 on Command Prompt<\/h4>\n<p>Now, it\u2019s time to finally install Keras. After writing \u2018pip install keras\u2019, you will see prompt collecting many files.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35511.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80009\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/09\/Screenshot-35511.png\" alt=\"pip install keras\" width=\"1351\" height=\"696\" \/><\/a><\/p>\n<p>You will see that it is automatically ignoring the functions are that not much necessary. It is very easy to install Keras. It will automatically install all the secondary files it needs.<\/p>\n<p>After writing this command, wait for it to execute completely. Once it is done, you have successfully installed Keras. Now, you can easily work with the Keras code. Write the Keras commands easily and safely. Enjoy working with Keras.<\/p>\n<h3>Conclusion<\/h3>\n<p>This is how Keras installation is done. Keras is an open-source Python library. It is easy to install Keras. As Keras runs on the top of TensorFlow, Theano. You have to install any of these libraries first.<\/p>\n<p>Here, you can see TensorFlow. After installing TensorFlow, you can install Keras. It is not a burden to install Keras. It is not too time-consuming. You can easily and quickly install it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Keras is one of the most popular Python libraries. It is having high demand these days as it is straight-forward and simple. It is a high-level API that does not perform low-level computations. Keras&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":80002,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3263],"tags":[3274,3275,3276],"class_list":["post-79942","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-keras-tutorials","tag-install-keras","tag-keras-environment-setup","tag-keras-installation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Keras Installation and Environment Setup - TechVidvan<\/title>\n<meta name=\"description\" content=\"Keras Installation and Environment setup - Learn how to install keras in easy &amp; simple steps. Firstly you need to install python for the same\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/keras-installation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Keras Installation and Environment Setup - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Keras Installation and Environment setup - Learn how to install keras in easy &amp; simple steps. Firstly you need to install python for the same\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/keras-installation\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-10T03:30:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/09\/Keras-Installation-and-Environment-Setu.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Keras Installation and Environment Setup - TechVidvan","description":"Keras Installation and Environment setup - Learn how to install keras in easy & simple steps. Firstly you need to install python for the same","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/","og_locale":"en_US","og_type":"article","og_title":"Keras Installation and Environment Setup - TechVidvan","og_description":"Keras Installation and Environment setup - Learn how to install keras in easy & simple steps. Firstly you need to install python for the same","og_url":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2020-10-10T03:30:17+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/09\/Keras-Installation-and-Environment-Setu.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Keras Installation and Environment Setup","datePublished":"2020-10-10T03:30:17+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/"},"wordCount":471,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/09\/Keras-Installation-and-Environment-Setu.jpg","keywords":["Install keras","Keras environment setup","Keras Installation"],"articleSection":["Keras Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/keras-installation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/","url":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/","name":"Keras Installation and Environment Setup - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/09\/Keras-Installation-and-Environment-Setu.jpg","datePublished":"2020-10-10T03:30:17+00:00","description":"Keras Installation and Environment setup - Learn how to install keras in easy & simple steps. Firstly you need to install python for the same","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/keras-installation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/09\/Keras-Installation-and-Environment-Setu.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/09\/Keras-Installation-and-Environment-Setu.jpg","width":1200,"height":628,"caption":"Keras Installation and Environment Setu"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/keras-installation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Keras Installation and Environment Setup"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/79942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=79942"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/79942\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/80002"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=79942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=79942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=79942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}