{"componentChunkName":"component---src-templates-work-js","path":"/works/e-unable-to-locate-package-python-pip","result":{"data":{"datoCmsWork":{"seoMetaTags":{"tags":[{"tagName":"title","content":"E: Unable to locate package python-pip"},{"tagName":"meta","attributes":{"property":"og:title","content":"E: Unable to locate package python-pip"}},{"tagName":"meta","attributes":{"name":"twitter:title","content":"E: Unable to locate package python-pip"}},{"tagName":"meta","attributes":{"name":"description","content":"Pitch founders hackathon business-to-business growth hacking pivot rockstar deployment business model canvas handshake stock business-to-consumer. "}},{"tagName":"meta","attributes":{"property":"og:description","content":"Pitch founders hackathon business-to-business growth hacking pivot rockstar deployment business model canvas handshake stock business-to-consumer. "}},{"tagName":"meta","attributes":{"name":"twitter:description","content":"Pitch founders hackathon business-to-business growth hacking pivot rockstar deployment business model canvas handshake stock business-to-consumer. "}},{"tagName":"meta","attributes":{"name":"twitter:site","content":"@xxx"}},{"tagName":"meta","attributes":{"name":"twitter:card","content":"summary"}},{"tagName":"meta","attributes":{"property":"article:modified_time","content":"2020-10-28T15:21:10Z"}},{"tagName":"meta","attributes":{"property":"article:published_time","content":"2020-06-01T09:54:17Z"}},{"tagName":"meta","attributes":{"property":"article:publisher","content":"https://www.facebook.com/xxx"}},{"tagName":"meta","attributes":{"property":"og:locale","content":"en_EN"}},{"tagName":"meta","attributes":{"property":"og:type","content":"article"}},{"tagName":"meta","attributes":{"property":"og:site_name","content":"Fred Lich"}},{"tagName":"meta","attributes":{"property":"og:image","content":"https://www.datocms-assets.com/28985/1590861119-favicon.png?w=1000&fit=max&fm=jpg"}},{"tagName":"meta","attributes":{"name":"twitter:image","content":"https://www.datocms-assets.com/28985/1590861119-favicon.png?w=1000&fit=max&fm=jpg"}}]},"title":"E: Unable to locate package python-pip","excerpt":"I keep hitting this annoying error, here's a post on how to fix it. No doubt I'll be returning here. ","gallery":[],"descriptionNode":{"childMarkdownRemark":{"html":"<p>Often, when you start a new (blank) instance on EC2, you have to install stuff like awscli or python-pip. Sometimes it can't find the package and you get this error.</p>\n<pre><code>sudo apt-get install python-pip\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\nE: Unable to locate package python-pip\n</code></pre>\n<p>This is becuase it is not looking in the right repository. Python-pip is in the universe repository, so you have to add it.</p>\n<pre><code>sudo apt-get install software-properties-common\nsudo apt-add-repository universe\nsudo apt-get update\n</code></pre>\n<p>Then you can install your packages i.e.</p>\n<pre><code>sudo apt-get install python-pip\nsudo apt-get install awscli\n</code></pre>"}},"coverImage":{"url":"https://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png","fluid":{"base64":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QBMRXhpZgAASUkqAAgAAAABAGmHBAABAAAAGgAAAAAAAAADAAGgAwABAAAA//8AAAKgBAABAAAAFAAAAAOgBAABAAAAAQAAAAAAAAD/2wEEEAAJAAsACwANABEADQASABQAFAASABgAGgAYABoAGAAkACEAHgAeACEAJAA2ACcAKQAnACkAJwA2AFEAMwA7ADMAMwA7ADMAUQBHAFYARwBCAEcAVgBHAIAAZQBZAFkAZQCAAJQAfAB2AHwAlACzAKAAoACzAOEA1QDhASUBJQGKEQAJAAsACwANABEADQASABQAFAASABgAGgAYABoAGAAkACEAHgAeACEAJAA2ACcAKQAnACkAJwA2AFEAMwA7ADMAMwA7ADMAUQBHAFYARwBCAEcAVgBHAIAAZQBZAFkAZQCAAJQAfAB2AHwAlACzAKAAoACzAOEA1QDhASUBJQGK/8IAEQgAAQAUAwEiAAIRAQMRAf/EACgAAQEAAAAAAAAAAAAAAAAAAAAHAQEBAAAAAAAAAAAAAAAAAAAAA//aAAwDAQACEAMQAAAAsIpMD//EABQQAQAAAAAAAAAAAAAAAAAAABD/2gAIAQEAAT8Af//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8AP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8AP//Z","aspectRatio":1015,"src":"https://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png?auto=compress%2Cformat&fm=jpg","srcSet":"https://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png?auto=compress%2Cformat&dpr=0.08&fm=jpg&w=2030 150w,\nhttps://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png?auto=compress%2Cformat&dpr=0.15&fm=jpg&w=2030 300w,\nhttps://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png?auto=compress%2Cformat&dpr=0.3&fm=jpg&w=2030 600w,\nhttps://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png?auto=compress%2Cformat&dpr=0.45&fm=jpg&w=2030 900w,\nhttps://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png?auto=compress%2Cformat&dpr=0.6&fm=jpg&w=2030 1200w,\nhttps://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png?auto=compress%2Cformat&dpr=0.89&fm=jpg&w=2030 1800w,\nhttps://www.datocms-assets.com/28985/1603898463-screenshot-2020-10-28-at-15-20-38.png?auto=compress%2Cformat&dpr=1&fm=jpg&w=2030 2030w","sizes":"(max-width: 600px) 100vw, 600px"}}}},"pageContext":{"slug":"e-unable-to-locate-package-python-pip"}}}