{"id":608,"date":"2017-11-13T23:30:09","date_gmt":"2017-11-13T18:00:09","guid":{"rendered":"http:\/\/www.cyberaka.com\/?p=608"},"modified":"2017-11-13T23:30:09","modified_gmt":"2017-11-13T18:00:09","slug":"installing-pip-on-macos","status":"publish","type":"post","link":"https:\/\/www.cyberaka.com\/?p=608","title":{"rendered":"Installing pip on MacOS"},"content":{"rendered":"<p>I recently started exploring python and immediately ran into the following issue:<br \/>\n<code>$ pip install requests<br \/>\n-bash: pip: command not found<br \/>\n<\/code><\/p>\n<p>A quick google search yielded <a href=\"https:\/\/ahmadawais.com\/install-pip-macos-os-x-python\/\">this result<\/a>. So basically on MacOS you have Python preinstalled along with easy_install command. So the following command installs pip:<br \/>\n<code><br \/>\n$ sudo easy_install pip<br \/>\nSearching for pip<br \/>\nReading https:\/\/pypi.python.org\/simple\/pip\/<br \/>\nBest match: pip 9.0.1<br \/>\n....<br \/>\n....<br \/>\nProcessing dependencies for pip<br \/>\nFinished processing dependencies for pip<br \/>\n<\/code><br \/>\nA quick and handy solution indeed!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently started exploring python and immediately ran into the following issue: $ pip install requests -bash: pip: command not found A quick google search yielded this result. So basically on MacOS you have Python preinstalled along with easy_install command. So the following command installs pip: $ sudo easy_install pip Searching for pip Reading https:\/\/pypi.python.org\/simple\/pip\/ [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,58],"tags":[],"class_list":["post-608","post","type-post","status-publish","format-standard","hentry","category-mac-os","category-python"],"_links":{"self":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=608"}],"version-history":[{"count":1,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/608\/revisions"}],"predecessor-version":[{"id":609,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/608\/revisions\/609"}],"wp:attachment":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}