{"id":10124,"date":"2015-11-25T08:02:19","date_gmt":"2015-11-25T14:02:19","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=10124"},"modified":"2019-09-03T23:20:45","modified_gmt":"2019-09-04T04:20:45","slug":"python","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mlinux\/mlinux-software-development\/python\/","title":{"rendered":"Python"},"content":{"rendered":"<h3>Install Pip<\/h3>\n<p>Establish an internet connection for the\u00a0Conduit<sup>\u00ae<\/sup> and then issue these commands:<\/p>\n<pre class=\"brush:shell\">$ opkg update\r\n...\r\n$ opkg install python-pip\r\n...\r\n$ wget https:\/\/raw.githubusercontent.com\/pypa\/setuptools\/bootstrap-2.x\/ez_setup.py --no-check-certificate\r\n...\r\n$ python ez_setup.py<\/pre>\n<p><em><strong>Note:<\/strong>\u00a0These steps only work for pure python packages and AEP 1.5x\/mLinux 4.0x or higher due to a bug in older versions of python and ez_setup.py regarding redirects. For earlier versions of firmware from AEP 1.4x\/mLinux 3.x, call ez_setup.py with a &#8211;download-base argument as a workaround. The Conduit doesn&#8217;t have a compiler. If you need python modules requiring compiled C\/C++ code (binary files), use <a href=\"https:\/\/www.multitech.net\/developer\/software\/mlinux\/mlinux-building-images\/using-opkg-with-mlinux\/\">OPKG on mLinux<\/a> to install the python libraries instead of PIP (i.e. to build them on another computer). Any feeds used should reflect the appropriate version\u00a0\/feeds\/&lt;mlinux-version&gt;\/. If you have specific questions or issues with third-party software, libraries, or other code not generated by Multitech, please contact the provider directly.\u00a0<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Pip Establish an internet connection for the\u00a0Conduit\u00ae and then issue these commands: $ opkg update &#8230; $ opkg install python-pip &#8230; $ wget https:\/\/raw.githubusercontent.com\/pypa\/setuptools\/bootstrap-2.x\/ez_setup.py &#8211;no-check-certificate &#8230; $ python ez_setup.py Note:\u00a0These steps only work for pure python packages and AEP 1.5x\/mLinux 4.0x or higher due to a bug in older versions of python and ez_setup.py [&hellip;]<\/p>\n","protected":false},"author":1235,"featured_media":0,"parent":9192,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-10124","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/10124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1235"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=10124"}],"version-history":[{"count":15,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/10124\/revisions"}],"predecessor-version":[{"id":22836,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/10124\/revisions\/22836"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/9192"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=10124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}