<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Installing pysnmp module for python]]></title><description><![CDATA[<p dir="auto">Hi everyone, I'm trying to install the pthon module pysnmp as I am attempting to set up a snmp responder so that my device can be controlled with snmp.  The first problem I ran into was lack of memory, so I solved that with making a 2GB swap partition on my sd card.  Now I'm running into the following and not sure how to fix it.  I've tried searching google and here and I can't seem to find anything relevant.</p>
<p dir="auto">───────────────────────────────────────────────<br />
unable to execute 'mipsel-openwrt-linux-musl-gcc': No such file or directory<br />
error: command 'mipsel-openwrt-linux-musl-gcc' failed with exit status 1</p>
<p dir="auto">ERROR: Failed building wheel for pycryptodomex<br />
───────────────────────────────────────────────</p>
]]></description><link>http://community.onion.io/topic/3735/installing-pysnmp-module-for-python</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 11:10:54 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/3735.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Sep 2019 20:39:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Installing pysnmp module for python on Tue, 10 Sep 2019 15:29:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi everyone, I'm trying to install the pthon module pysnmp as I am attempting to set up a snmp responder so that my device can be controlled with snmp.  The first problem I ran into was lack of memory, so I solved that with making a 2GB swap partition on my sd card.  Now I'm running into the following and not sure how to fix it.  I've tried searching google and here and I can't seem to find anything relevant.</p>
<p dir="auto">───────────────────────────────────────────────<br />
unable to execute 'mipsel-openwrt-linux-musl-gcc': No such file or directory<br />
error: command 'mipsel-openwrt-linux-musl-gcc' failed with exit status 1</p>
<p dir="auto">ERROR: Failed building wheel for pycryptodomex<br />
───────────────────────────────────────────────</p>
]]></description><link>http://community.onion.io/post/20158</link><guid isPermaLink="true">http://community.onion.io/post/20158</guid><dc:creator><![CDATA[Jeffrey Lavoie]]></dc:creator><pubDate>Tue, 10 Sep 2019 15:29:42 GMT</pubDate></item><item><title><![CDATA[Reply to Installing pysnmp module for python on Tue, 10 Sep 2019 06:39:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4676">@Jeffrey-Lavoie</a> the error indicates the gcc compiler cannot be found in your path, this compiler is used for crosscompiling C code on linux.</p>
]]></description><link>http://community.onion.io/post/20170</link><guid isPermaLink="true">http://community.onion.io/post/20170</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 10 Sep 2019 06:39:23 GMT</pubDate></item><item><title><![CDATA[Reply to Installing pysnmp module for python on Tue, 10 Sep 2019 13:12:50 GMT]]></title><description><![CDATA[<p dir="auto">Ok, so if I just install gcc it should be fine?  I was thinking it was some kind of special version of gcc because of the long command name it gave and I couldn't find any references online to that command.  I'll give that a try.</p>
]]></description><link>http://community.onion.io/post/20171</link><guid isPermaLink="true">http://community.onion.io/post/20171</guid><dc:creator><![CDATA[Jeffrey Lavoie]]></dc:creator><pubDate>Tue, 10 Sep 2019 13:12:50 GMT</pubDate></item><item><title><![CDATA[Reply to Installing pysnmp module for python on Tue, 10 Sep 2019 14:21:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4676">@Jeffrey-Lavoie</a> you use this compiler to cross compile. So you compile the code on linux then move the files to OpenWrt.</p>
<p dir="auto">An easier way to install pycryptodomex is to use pip</p>
<p dir="auto">pip install pycryptodomex</p>
<p dir="auto">If you don't have pip installed you can just install it:</p>
<p dir="auto">opkg install python-pip</p>
<p dir="auto">Make sure you have updated your distfeeds.conf so the package can be found.</p>
]]></description><link>http://community.onion.io/post/20172</link><guid isPermaLink="true">http://community.onion.io/post/20172</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 10 Sep 2019 14:21:16 GMT</pubDate></item><item><title><![CDATA[Reply to Installing pysnmp module for python on Tue, 10 Sep 2019 15:28:47 GMT]]></title><description><![CDATA[<p dir="auto">This was with me actually installing pysnmp on the omega with "pip install pysnmp", so it was trying to compile it on the omega and I'm guessing even if I did "pip install pycrpytodomex" it would have had the same results.</p>
<p dir="auto">installing gcc, after uncommenting the base and packages lines for openwrt in /etc/opkg/distfeeds.conf, seemed to do the trick.  Though, I ran into another problem.  It ran out of free space, not on my sd card, but on the /tmp mount.  I'm not sure how to increase that, or if I really need to, but for anybody else that might come across this the solution was to specify a build folder for pip like this.</p>
<p dir="auto">pip install --build /root/tmp pysnmp</p>
]]></description><link>http://community.onion.io/post/20173</link><guid isPermaLink="true">http://community.onion.io/post/20173</guid><dc:creator><![CDATA[Jeffrey Lavoie]]></dc:creator><pubDate>Tue, 10 Sep 2019 15:28:47 GMT</pubDate></item></channel></rss>