{"componentChunkName":"component---src-templates-page-js","path":"/notes/using-pip-to-install-python-packages-on-the-arduino-yun/","result":{"data":{"markdownRemark":{"html":"<p>The Arduino Yún doesn’t come with SSL support, which means no pip and no Python packages. Myself, <a href=\"http://adamquinnstudio.com/\" target=\"_blank\">Adam</a> and <a href=\"http://xc-xd.com/\" target=\"_blank\">Xuedi</a> lost about a day of work last semester trying to find the fix for this, until Google-master <a href=\"http://www.brettjpeterson.com/\" target=\"_blank\">Brett</a> saved the day by finding us <a href=\"http://playground.arduino.cc/Hardware/Yun#installing_python_module\" target=\"_blank\">this link</a>. Clearly these instructions need spreading around the internet, so here they are.</p>\n<p>SSH into your Yún and issue the following commands:</p>\n<pre><code class=\"hljs language-bash\">opkg update\nopkg install distribute\nopkg install python-openssl\nopkg install python-bzip2\neasy_install pip</code></pre>\n<p>Then you can use <code>pip install</code> to install whatever packages you need.</p>\n<p><strong>Update, 2015-01-02:</strong> <code>python-ssl</code> seems to have been replaced (or superseded? I’m not exactly sure) by <code>python-openssl</code>. I updated the code above to reflect this change.</p>","frontmatter":{"path":"/notes/using-pip-to-install-python-packages-on-the-arduino-yun/","title":"Using pip to install python packages on the Arduino Yún","date":"2014-02-01T22:38:10.000Z","categories":["Arduino","Python"],"churl":null,"uses":null}}},"pageContext":{"post":true,"prev":{"url":"/notes/making-the-worlds-first-internet-enabled-fantasy-football-trophy-part-2-programming/","title":"Making the world's first internet-enabled fantasy football trophy, part 2: Programming"},"next":{"url":"/notes/focusing-in-on-fungi/","title":"Focusing in on fungi"}}}}