<?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[Cannot install aioserial package using pip]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I'm trying to install python's module <code>aioserial</code> (<a href="https://pypi.org/project/aioserial/" rel="nofollow">https://pypi.org/project/aioserial/</a>) and I'm getting the following error:</p>
<p dir="auto"><img src="/assets/uploads/files/1694640383660-07e3a0fa-6f64-47d2-ba4c-c8564ae60c2a-image.png" alt="07e3a0fa-6f64-47d2-ba4c-c8564ae60c2a-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">This is not the first time pip has failed to install a package on the omega. This happens often and depending on the situation I usually switch between using <code>opkg</code> and <code>pip</code> to install python modules, but this time I don't have aioserial available in the <code>openwrt</code> package feed that has python packages to download.</p>
<p dir="auto">I tried this on an omega running <code>openwrt 18.06</code> and another one running <code>openwrt 22.03</code> I even used a freshly flashed one running <code>18.06</code>. I got the same results in all of my attempts. I would really appreciate some help,</p>
<p dir="auto">Thanks!</p>
]]></description><link>http://community.onion.io/topic/5013/cannot-install-aioserial-package-using-pip</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 09:39:09 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/5013.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Sep 2023 21:31:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot install aioserial package using pip on Wed, 13 Sep 2023 21:31:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I'm trying to install python's module <code>aioserial</code> (<a href="https://pypi.org/project/aioserial/" rel="nofollow">https://pypi.org/project/aioserial/</a>) and I'm getting the following error:</p>
<p dir="auto"><img src="/assets/uploads/files/1694640383660-07e3a0fa-6f64-47d2-ba4c-c8564ae60c2a-image.png" alt="07e3a0fa-6f64-47d2-ba4c-c8564ae60c2a-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">This is not the first time pip has failed to install a package on the omega. This happens often and depending on the situation I usually switch between using <code>opkg</code> and <code>pip</code> to install python modules, but this time I don't have aioserial available in the <code>openwrt</code> package feed that has python packages to download.</p>
<p dir="auto">I tried this on an omega running <code>openwrt 18.06</code> and another one running <code>openwrt 22.03</code> I even used a freshly flashed one running <code>18.06</code>. I got the same results in all of my attempts. I would really appreciate some help,</p>
<p dir="auto">Thanks!</p>
]]></description><link>http://community.onion.io/post/25618</link><guid isPermaLink="true">http://community.onion.io/post/25618</guid><dc:creator><![CDATA[SUPERMARINE98]]></dc:creator><pubDate>Wed, 13 Sep 2023 21:31:40 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot install aioserial package using pip on Thu, 14 Sep 2023 14:55:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9164">@SUPERMARINE98</a> My hunch is that one of aioserial's dependencies needs to be compiled. Since your Omega doesn't have the compiler installed the whole package installation fails.</p>
<p dir="auto">Is there a way to get pip to be more verbose with the error message? That way we'll know what we're dealing with.</p>
]]></description><link>http://community.onion.io/post/25619</link><guid isPermaLink="true">http://community.onion.io/post/25619</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 14 Sep 2023 14:55:57 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot install aioserial package using pip on Thu, 14 Sep 2023 20:26:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi Lazar,</p>
<p dir="auto">This are the full logs that I get after running <code>pip3 install --verbose --verbose aioserial 2&gt;&amp;1 | tee installation.log</code>:</p>
<pre><code>Using pip 23.2.1 from /usr/lib/python3.10/site-packages/pip (python 3.10)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-build-tracker-zt7wtic2
Initialized build tracking at /tmp/pip-build-tracker-zt7wtic2
Created build tracker: /tmp/pip-build-tracker-zt7wtic2
Entered build tracker: /tmp/pip-build-tracker-zt7wtic2
Created temporary directory: /tmp/pip-install-el_o6lah
Created temporary directory: /tmp/pip-ephem-wheel-cache-4a8i8g_e
1 location(s) to search for versions of aioserial:
* https://pypi.org/simple/aioserial/
Fetching project page and analyzing links: https://pypi.org/simple/aioserial/
Getting page https://pypi.org/simple/aioserial/
Found index url https://pypi.org/simple/
Looking up "https://pypi.org/simple/aioserial/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/aioserial/ HTTP/1.1" 200 1938
Updating cache with response from "https://pypi.org/simple/aioserial/"
etag object cached for 1209600 seconds
Caching due to etag
Fetched page https://pypi.org/simple/aioserial/ as application/vnd.pypi.simple.v1+json
  Found link https://files.pythonhosted.org/packages/ba/35/0990e159396a67b1da5f851ca7f542514a894429c30b2a848e4dff86c412/aioserial-1.0.10.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.7), version: 1.0.10
  Found link https://files.pythonhosted.org/packages/df/6f/7e91993bab5763c7ad07bdd0fc76e64a7a152dfa0fc26edb5397f20168ae/aioserial-1.1.0.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6), version: 1.1.0
  Found link https://files.pythonhosted.org/packages/42/21/c4d100fb803645fd670e9ddf6a13162adc92a66f38d562e15c2f3cd053fb/aioserial-1.1.1.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6), version: 1.1.1
  Found link https://files.pythonhosted.org/packages/43/bb/8cd2217e0d105638ed83b796b2f5d279341f7a789d1af366a3c335f6f81a/aioserial-1.1.2.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6), version: 1.1.2
  Found link https://files.pythonhosted.org/packages/97/55/40dcb75c1edc827e0ce9c7238862c8b9822ee6679247e7a45bfabe34b6fa/aioserial-1.1.3.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6), version: 1.1.3
  Found link https://files.pythonhosted.org/packages/94/6e/f5d8cd97d4dc19fa0e563f7ca443c8ab223d21475d8ce2b9ef43b123d342/aioserial-1.1.4.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6), version: 1.1.4
  Found link https://files.pythonhosted.org/packages/25/ea/faa63b8f0516e70b00c03e0fbe5a7af1858b3698908de9d251d727471e83/aioserial-1.2.1-py3-none-any.whl (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.2.1
  Found link https://files.pythonhosted.org/packages/d3/5b/0ad283e7c61401c86c4c02568eea9a747c7518d1153057e5339cd200bd1d/aioserial-1.2.1.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.2.1
  Found link https://files.pythonhosted.org/packages/45/61/4c3ba236f42b1d57adc1bf90ea8c97f203648c84db7a890aec7b4e6ca634/aioserial-1.2.2-py3-none-any.whl (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.2.2
  Found link https://files.pythonhosted.org/packages/5f/0c/4681726772b05118dfa939f46c2bc527df5701c6b98932964f36ceb687af/aioserial-1.2.2.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.2.2
  Found link https://files.pythonhosted.org/packages/74/e6/6a8685407cd7b2f97b8d995fe56d50dd0ef8be1b492e16aa6a8cea848e3e/aioserial-1.2.3-py3-none-any.whl (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.2.3
  Found link https://files.pythonhosted.org/packages/e4/dc/9bd5a9d3baf7dd7334dc66625deae5e7f9a53826e7d9042152629e86847c/aioserial-1.2.3.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.2.3
  Found link https://files.pythonhosted.org/packages/9a/4b/dc5b6a0a5bcd3f92f509b8d90a4aada83bd37e67978cb6f5546a2b9ea7e1/aioserial-1.3.0-py3-none-any.whl (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.3.0
  Found link https://files.pythonhosted.org/packages/9b/db/54ec487184e5d0d5c257ccf9de20b0f446e14cc5a99b27698ea5b8138ece/aioserial-1.3.0.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.3.0
  Found link https://files.pythonhosted.org/packages/c1/0c/7aa5e4fdfc8353a06374ae768d9bd8f3d8109c5f1d6829906ba16fdd1a2d/aioserial-1.3.1.tar.gz (from https://pypi.org/simple/aioserial/) (requires-python:&gt;=3.6,&lt;4.0), version: 1.3.1
Skipping link: not a file: https://pypi.org/simple/aioserial/
Given no hashes to check 15 links for project 'aioserial': discarding no candidates
Collecting aioserial
  Created temporary directory: /tmp/pip-unpack-3sv60b98
  Looking up "https://files.pythonhosted.org/packages/c1/0c/7aa5e4fdfc8353a06374ae768d9bd8f3d8109c5f1d6829906ba16fdd1a2d/aioserial-1.3.1.tar.gz" in the cache
  No cache entry available
  Starting new HTTPS connection (1): files.pythonhosted.org:443
  https://files.pythonhosted.org:443 "GET /packages/c1/0c/7aa5e4fdfc8353a06374ae768d9bd8f3d8109c5f1d6829906ba16fdd1a2d/aioserial-1.3.1.tar.gz HTTP/1.1" 200 9608
  Downloading aioserial-1.3.1.tar.gz (9.6 kB)
  Ignoring unknown cache-control directive: immutable
  Updating cache with response from "https://files.pythonhosted.org/packages/c1/0c/7aa5e4fdfc8353a06374ae768d9bd8f3d8109c5f1d6829906ba16fdd1a2d/aioserial-1.3.1.tar.gz"
  etag object cached for 1209600 seconds
  Caching due to etag
  Added aioserial from https://files.pythonhosted.org/packages/c1/0c/7aa5e4fdfc8353a06374ae768d9bd8f3d8109c5f1d6829906ba16fdd1a2d/aioserial-1.3.1.tar.gz to build tracker '/tmp/pip-build-tracker-zt7wtic2'
  Created temporary directory: /tmp/pip-build-env-bxgkr8ab
  Installing build dependencies: started
  Running command pip subprocess to install build dependencies
  Using pip 23.2.1 from /usr/lib/python3.10/site-packages/pip (python 3.10)
  Collecting poetry&gt;=0.12
    Obtaining dependency information for poetry&gt;=0.12 from https://files.pythonhosted.org/packages/7d/25/f3bfda3c458d114005af99441d009936b85a34a730aeb9cf57fb2630d9f7/poetry-1.6.1-py3-none-any.whl.metadata
    Downloading poetry-1.6.1-py3-none-any.whl.metadata (6.8 kB)
  Collecting build&lt;0.11.0,&gt;=0.10.0 (from poetry&gt;=0.12)
    Downloading build-0.10.0-py3-none-any.whl (17 kB)
  Collecting cachecontrol[filecache]&lt;0.14.0,&gt;=0.13.0 (from poetry&gt;=0.12)
    Obtaining dependency information for cachecontrol[filecache]&lt;0.14.0,&gt;=0.13.0 from https://files.pythonhosted.org/packages/1d/e3/a22348e6226dcd585d5a4b5f0175b3a16dabfd3912cbeb02f321d00e56c7/cachecontrol-0.13.1-py3-none-any.whl.metadata
    Downloading cachecontrol-0.13.1-py3-none-any.whl.metadata (3.0 kB)
    Link requires a different Python (3.10.12 not in: '&gt;=2.7.0.0,&lt;2.8.0.0,&gt;=3.4.0.0,&lt;4.0.0.0'): https://files.pythonhosted.org/packages/3d/53/4eaeead9a3564955a66ad25d99ddac161e9abc67646384019255afd2e0ce/cleo-0.6.2-py2.py3-none-any.whl (from https://pypi.org/simple/cleo/) (requires-python:&gt;=2.7.0.0,&lt;2.8.0.0,&gt;=3.4.0.0,&lt;4.0.0.0)
    Link requires a different Python (3.10.12 not in: '&gt;=2.7.0.0,&lt;2.8.0.0,&gt;=3.4.0.0,&lt;4.0.0.0'): https://files.pythonhosted.org/packages/57/af/a17f5e4184a872e8916d0fd84d77513c74cd055585c1936181d9f9a8c69e/cleo-0.6.2.tar.gz (from https://pypi.org/simple/cleo/) (requires-python:&gt;=2.7.0.0,&lt;2.8.0.0,&gt;=3.4.0.0,&lt;4.0.0.0)
    Link requires a different Python (3.10.12 not in: '&gt;=2.7.0.0,&lt;2.8.0.0,&gt;=3.4.0.0,&lt;4.0.0.0'): https://files.pythonhosted.org/packages/f6/be/f92c1221bd2acd9bb170d8097ce62ea2905e3bd8a0061ecbe76db99d8e8d/cleo-0.6.3-py2.py3-none-any.whl (from https://pypi.org/simple/cleo/) (requires-python:&gt;=2.7.0.0,&lt;2.8.0.0,&gt;=3.4.0.0,&lt;4.0.0.0)
    Link requires a different Python (3.10.12 not in: '&gt;=2.7.0.0,&lt;2.8.0.0,&gt;=3.4.0.0,&lt;4.0.0.0'): https://files.pythonhosted.org/packages/69/49/f23c30b41eee47d3f9032c427f18616a8ff83c64d7210cad5ab5ff9ef8b4/cleo-0.6.3.tar.gz (from https://pypi.org/simple/cleo/) (requires-python:&gt;=2.7.0.0,&lt;2.8.0.0,&gt;=3.4.0.0,&lt;4.0.0.0)
  Collecting cleo&lt;3.0.0,&gt;=2.0.0 (from poetry&gt;=0.12)
    Downloading cleo-2.0.1-py3-none-any.whl (77 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.3/77.3 kB 95.5 kB/s eta 0:00:00
  Collecting crashtest&lt;0.5.0,&gt;=0.4.1 (from poetry&gt;=0.12)
    Downloading crashtest-0.4.1-py3-none-any.whl (7.6 kB)
  Collecting dulwich&lt;0.22.0,&gt;=0.21.2 (from poetry&gt;=0.12)
    Downloading dulwich-0.21.6.tar.gz (445 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 445.5/445.5 kB 123.7 kB/s eta 0:00:00
    Installing build dependencies: started
    Running command pip subprocess to install build dependencies
    Using pip 23.2.1 from /usr/lib/python3.10/site-packages/pip (python 3.10)
    Collecting setuptools&gt;=61.2
      Obtaining dependency information for setuptools&gt;=61.2 from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
      Downloading setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
    Downloading setuptools-68.2.2-py3-none-any.whl (807 kB)
</code></pre>
<p dir="auto">I left it running for about <em>20 minutes</em> but it seems like execution freezes at the last log.</p>
]]></description><link>http://community.onion.io/post/25620</link><guid isPermaLink="true">http://community.onion.io/post/25620</guid><dc:creator><![CDATA[SUPERMARINE98]]></dc:creator><pubDate>Thu, 14 Sep 2023 20:26:15 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot install aioserial package using pip on Fri, 15 Sep 2023 16:05:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9164">@SUPERMARINE98</a> thanks for the detailed logs. We still haven't ruled out if there's some compilation required.</p>
<p dir="auto">Our next step should be to determine what's going on with the setuptools installation. Did the Omega2 maybe run out of space? You can check by running <code>df -h</code></p>
<p dir="auto">Here's sample output:<br />
<img src="/assets/uploads/files/1694793726559-a98d9a4c-4aa2-4052-8826-bf3d330f854f-image.png" alt="a98d9a4c-4aa2-4052-8826-bf3d330f854f-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">If the <code>/dev/mtdblock6</code> partition is full or close to full that's the issue. You'll need to <a href="http://docs.onion.io/omega2-docs/boot-from-external-storage.html" rel="nofollow">boot from external storage</a> to have more storage space.</p>
<p dir="auto">If not, then there's something wonky with pip's installation of setuptools. For both the Onion v0.3.4 firmware and openwrt 22.03, there's a <code>python3-setuptools</code> package that can be installed with opkg.<br />
Try <code>opkg update; opkg install python3-setuptools</code> and then running your pip command again.</p>
]]></description><link>http://community.onion.io/post/25621</link><guid isPermaLink="true">http://community.onion.io/post/25621</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Fri, 15 Sep 2023 16:05:02 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot install aioserial package using pip on Fri, 15 Sep 2023 17:46:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a> I already had the omega setup to boot from external storage when I attempted to install <code>aioserial</code></p>
<p dir="auto"><img src="/assets/uploads/files/1694797956409-5ec2ba98-7027-481f-b8d7-6c5958bc488b-image.png" alt="5ec2ba98-7027-481f-b8d7-6c5958bc488b-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Also, when I tried to install <code>python3-setuptools</code> package, it appears that is already installed</p>
<p dir="auto"><img src="/assets/uploads/files/1694798039809-9d0d183c-e861-42ea-b7d9-79975a57ae91-image.png" alt="9d0d183c-e861-42ea-b7d9-79975a57ae91-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://community.onion.io/post/25622</link><guid isPermaLink="true">http://community.onion.io/post/25622</guid><dc:creator><![CDATA[SUPERMARINE98]]></dc:creator><pubDate>Fri, 15 Sep 2023 17:46:17 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot install aioserial package using pip on Thu, 21 Sep 2023 14:58:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9164">@SUPERMARINE98</a> but then this line from your pip command output <code>Downloading setuptools-68.2.2-py3-none-any.whl</code> indicates it's trying to install a newer version of setuptools.</p>
<p dir="auto">Maybe pip just runs out of memory? Try making a swap file to extend the Omega's available memory: <a href="http://docs.onion.io/omega2-docs/extending-omega-memory.html" rel="nofollow">http://docs.onion.io/omega2-docs/extending-omega-memory.html</a></p>
<p dir="auto">And then trying to use pip to install only <code>setuptools</code></p>
]]></description><link>http://community.onion.io/post/25630</link><guid isPermaLink="true">http://community.onion.io/post/25630</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 21 Sep 2023 14:58:10 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot install aioserial package using pip on Fri, 22 Sep 2023 21:12:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a> I was able to successfully create a <strong>swap file</strong>. This approach really did something as the installation went on even further, although, it failed later on. <a href="https://drive.google.com/file/d/1TuAeL20C8LmRteJ0W5Di6dqQKws9PKo3/view?usp=sharing" rel="nofollow">This are the complete logs with double <code>--verbose</code> flags</a> (Had to upload to google drive due to length and file extension restrictions with the forum post editor)</p>
<p dir="auto">I can clearly see that I get <code>OSError: [Errno 28] No space left on device</code> which seems weird as I have plenty of memory left in the overlay storage:</p>
<pre><code>root@Omega-8dac:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.5M      4.5M         0 100% /rom
tmpfs                    59.8M     20.9M     38.8M  35% /tmp
/dev/mmcblk0p2           25.8G    147.9M     24.4G   1% /overlay
overlayfs:/overlay       25.8G    147.9M     24.4G   1% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mmcblk0p1            3.0G    896.7M      2.1G  29% /mnt/mmcblk0p1
/dev/mtdblock6           25.1M    748.0K     24.3M   3% /mnt/mtdblock6
/dev/sda1                14.4G    256.0M     14.2G   2% /mnt/sda1
root@Omega-8dac:/#
</code></pre>
]]></description><link>http://community.onion.io/post/25639</link><guid isPermaLink="true">http://community.onion.io/post/25639</guid><dc:creator><![CDATA[SUPERMARINE98]]></dc:creator><pubDate>Fri, 22 Sep 2023 21:12:26 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot install aioserial package using pip on Sun, 24 Sep 2023 07:27:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9164">@SUPERMARINE98</a> I think it is running out of space in the /tmp directory. Try setting the  environent variable to point to where you have the most space before you rur pip</p>
<p dir="auto">TMPDIR=/mnt/sda1/tmp<br />
pip .....</p>
]]></description><link>http://community.onion.io/post/25641</link><guid isPermaLink="true">http://community.onion.io/post/25641</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Sun, 24 Sep 2023 07:27:23 GMT</pubDate></item></channel></rss>