{"id":110,"date":"2021-08-16T18:05:36","date_gmt":"2021-08-17T00:05:36","guid":{"rendered":"https:\/\/thenontechieguy.com\/?p=110"},"modified":"2021-08-16T18:35:36","modified_gmt":"2021-08-17T00:35:36","slug":"is-your-laptop-data-science-ready","status":"publish","type":"post","link":"https:\/\/thenontechieguy.com\/index.php\/2021\/08\/16\/is-your-laptop-data-science-ready\/","title":{"rendered":"Is your Laptop &#8216;Data Science&#8217; Ready?"},"content":{"rendered":"\n<p>What does it mean when they say &#8220;Data Science Ready Laptop&#8217;? How do you know if your laptop can help you run data science projects?<\/p>\n\n\n\n<p>My old laptop became unusable and I decided to upgrade my laptop. This allowed me to look at the above problem in more detail.<\/p>\n\n\n\n<p>I chose a laptop with an 11th Gen i7 processor @2.8 GHz with 16 GB RAM based on various articles by data science enthusiasts on choosing a laptop for data science projects.<\/p>\n\n\n\n<p>One of the exciting (or mundane- however you look at it) tasks once you get a new laptop is to install all the necessary applications.<\/p>\n\n\n\n<p>Here is the list of software programs\/ applications that I have installed so far:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">i. Anti-Virus- Not a data science relevant application but an anti-virus is a must for any laptop. I choose &#8216;McAfee LiveSafe&#8217; for my laptop partly because a trial version was already installed on my laptop and partly because I used this on my previous laptop.<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">ii. Chrome Browser- Again not data science relevant application but downloaded this out of personal preference.<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">iii. Python- Python is one of the most popular languages for data science and I wish to work on it. I followed the classical method of downloading it through the below link:<\/h3>\n\n\n\n<p> https:\/\/www.python.org\/downloads\/<\/p>\n\n\n\n<p>I downloaded the latest version 3.9.6.<\/p>\n\n\n\n<p>The Python installation itself is fairly straight-forward. It just needs admin.<\/p>\n\n\n\n<p>Also remember to check the option &#8216;Add Python 3.9 to PATH&#8217;<\/p>\n\n\n\n<p>Once Python is installed, you can check if its correctly installed using the below command in Windows PowerShell (there is no need to run Windows PowerShell as Admin user)<\/p>\n\n\n\n<p>python &#8211;version<\/p>\n\n\n\n<p>The output of this command will be the version of Python installed on your system.<\/p>\n\n\n\n<p>In my case the output was &#8216;Python 3.9.6&#8217;<\/p>\n\n\n\n<p>While downloading Python,  I encountered the following errors:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>&#8216;python was not found run without arguments&#8217;- I encountered this error while trying to verify the version of Python installation. I researched this on google and found that issue was that Python was itself not installed completely. I went back and downloaded it again. I also navigated to &#8220;Manage App Execution Aliases&#8221;  and turned off all items related to &#8220;python&#8221;. These two steps resolved the issue<\/li><li>&#8216;python&#8217; is not recognized as an internal or external command, operable program or batch file. I encountered this error while trying to verify the version of Python installation.  Turns out I just had to restart my laptop and it resolved this issue.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">iv. IDE for Python: Though Python comes with its dedicated IDE called Thonny, I have not used this before. I have worked with Eclipse and so for this reason, I installed Eclipse for Python. <\/h3>\n\n\n\n<p>I downloaded Eclipse from the below location:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.eclipse.org\/downloads\/\">https:\/\/www.eclipse.org\/downloads\/<\/a> (This installation already includes JRE so you don&#8217;t have to install it separately)<\/p>\n\n\n\n<p>I selected &#8216;Eclipse IDE for Java Developers&#8217;<\/p>\n\n\n\n<p>Click &#8216;Launch Application&#8217; after installation.<\/p>\n\n\n\n<p>Eclipse provides a default Workspace and you can change it if needed. Then click &#8216;Launch&#8217;<\/p>\n\n\n\n<p>Since we need to use Eclipse for Python, we need to integrate the Python Installation with Eclipse. This is done by installing Pydev Plugin.<\/p>\n\n\n\n<p>For this, navigate to Help> Eclipse Marketplace<\/p>\n\n\n\n<p>In the Find Field, enter the value &#8216;Pydev&#8217;, click &#8216;Enter&#8217; and install Pydev.<\/p>\n\n\n\n<p>Once Pydev is installed, there is an additional step needed.<\/p>\n\n\n\n<p>Navigate to Window- Preferences -> look for Pydev and expand it<\/p>\n\n\n\n<p>Under Interpreter, choose Python Interpreter. We need to specify the location of Python Interpreter. <\/p>\n\n\n\n<p>Click &#8216;New&#8217; and select &#8216;Choose from List&#8217; option and add. Then click &#8216;Apply and Close&#8217;. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">iv. Putty: Putty allows the use of SSH to access a remote computer. This will be particularly useful for accessing servers on Cloud.<\/h3>\n\n\n\n<p>I downloaded Putty from the following location<\/p>\n\n\n\n<p><a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\">https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>With these setups, I am ready to start working on some actual data science projects which I will be covering next few posts. <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What does it mean when they say &#8220;Data Science Ready Laptop&#8217;? How do you know if your laptop can help you run data science projects?&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,11],"tags":[],"class_list":["post-110","post","type-post","status-publish","format-standard","hentry","category-data-science","category-laptop"],"_links":{"self":[{"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/posts\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/comments?post=110"}],"version-history":[{"count":3,"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/posts\/110\/revisions"}],"predecessor-version":[{"id":113,"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/posts\/110\/revisions\/113"}],"wp:attachment":[{"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/media?parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/categories?post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thenontechieguy.com\/index.php\/wp-json\/wp\/v2\/tags?post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}