<?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[v1.0.6 of Board Manager not working **Solved**]]></title><description><![CDATA[<p dir="auto">It appears that the v1.0.6 version of the board manager is not working. I believe its related to switching to esptool 3.00. The specific issue I'm running into is a compile error on line 39 of the <a href="http://esptool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esptool.py</a> that is installed by the v1.0.6 board version, saying "can't import serial"</p>
<p dir="auto">I tried to look deeper into the issue, it appears to be quite the ordeal with the <a href="http://esptool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esptool.py</a> (quite a few issues listed in the script...) but it appeared the fix was to update the install to use pyserial.</p>
<p dir="auto">I am using the latest version of Arduino 1.8.13 on Mac OS 10.14.6 . When I downgrade to 1.0.5  (v2.6 of esptool...) all of my issues disappear.  I would open an issue on github but there didnt seem to be an appropriate place. Thank you!</p>
]]></description><link>https://community.m5stack.com/topic/2521/v1-0-6-of-board-manager-not-working-solved</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 02:48:05 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2521.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Nov 2020 03:38:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Tue, 08 Dec 2020 03:54:39 GMT]]></title><description><![CDATA[<p dir="auto">Just to close the loop for anyone from the future...</p>
<p dir="auto">Here's the steps I took to resolve this:</p>
<ol>
<li>Uninstall / Cleanup / Restore to macos Mojave default python installation.  (Which is v2.7.16 as noted above.)  This was a pretty intensive step. The short breadcrumb for anyone else:</li>
</ol>
<p dir="auto"><strong>Dont touch the mac system python installs located at:</strong><br />
/System/Library or<br />
/usr/bin</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/3819449/how-to-uninstall-python-2-7-on-a-mac-os-x-10-6-4" target="_blank" rel="noopener noreferrer nofollow ugc">helpful stack overflow post for uninstalling python</a></p>
<p dir="auto">But in the end, from what I could find Mojave doesn't include pip by default, and easy_install is depreciated so we had to go to step 2.</p>
<ol start="2">
<li><code>brew install python</code> Today in Dec 2020 this will install 3.9.0. ((Python 2.7 has been long depreciated))[<em>Also note pip is currently installed with this version of python</em>]</li>
<li>At this point if you type <code>python --version</code> you will still get: <code>2.7.16</code></li>
<li>While reading the <a href="https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/macos-setup.html" target="_blank" rel="noopener noreferrer nofollow ugc">ESP-IDF toolchain</a> instructions, I noticed the following command:<br />
<code>ln -s /usr/local/bin/python3 /usr/local/bin/python</code><br />
This setup a symlink to the python3 symlink also installed by brew. (Seems kind of hacky, but technically works...) I also had to do: <code>ln -s /usr/local/bin/pip3 /usr/local/bin/pip</code> which cleaned up any remaining issues making pip work. (Biggest issue being me forgetting to type pip3)</li>
<li>After restarting my terminal, running <code>python --version</code> I now get: <code>3.9.0</code></li>
<li>With my new python env working as expected, I fired up ardunio IDE and one of the Core2 examples, and went to verify to see if my issues went away... And I still had the issues above in my original post.<br />
6b. At this point I tried a ton of other things, most notably redoing everything by installing pyenv and trying to set the global env to 3.9, but none of those steps worked...</li>
<li>I went back through the troubleshooting steps above, had the expected correct outcomes. Even ran the <a href="http://esp-tools.py" target="_blank" rel="noopener noreferrer nofollow ugc">esp-tools.py</a> directly and didnt have any issues importing serial or anything else.</li>
<li>I believe the actual issue is the first line in the <a href="http://esp-tools.py" target="_blank" rel="noopener noreferrer nofollow ugc">esp-tools.py</a>:</li>
</ol>
<pre><code>#!/usr/bin/env python
</code></pre>
<p dir="auto">Which I believe is what is forcing the ardunio IDE to use the default MacOS python version. (See note in #1 about this being the protected default python that we shouldnt touch.)<br />
9. Just as a test, I changed that line to be:</p>
<pre><code>#!/usr/bin/env python3
</code></pre>
<p dir="auto">Once I reopened Ardunio, this worked and verified without any issues.</p>
<ol start="10">
<li>However, I feared that if I ever updated the board definitions I would forget about this change and it would all break again. So I followed <a class="plugin-mentions-user plugin-mentions-a" href="/user/lydericc" aria-label="Profile: lydericc">@<bdi>lydericc</bdi></a> instructions above. (Thank you!) You really shouldnt do this, but it's the only way to make it "work" with everything else out of the box. Specifically the following line (Step 2 in the post above):</li>
</ol>
<p dir="auto"><code>sudo pip3 install --target /Library/Python/2.7/site-packages pyserial</code></p>
<p dir="auto">This installed the required serial module and fixed the remaining issues.</p>
<p dir="auto">I'm not sure I like the solution, but it is the only thing that has made it work. The "correct" fix would be to have <a href="http://esp-tool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esp-tool.py</a> use the installed default python version instead of the specific one installed at /usr/bin.</p>
<p dir="auto">Finally, as with all things in life, there is already an xkcd for this: <a href="https://xkcd.com/1987/" target="_blank" rel="noopener noreferrer nofollow ugc">https://xkcd.com/1987/</a></p>
<p dir="auto">Maybe I'll open an issue with the esp-tool or Ardunio IDE and see what happens, but I dont believe this has anything to do with M5stack tools.   Thanks for all who helped! (<a class="plugin-mentions-user plugin-mentions-a" href="/user/zontex" aria-label="Profile: Zontex">@<bdi>Zontex</bdi></a>  &amp; <a class="plugin-mentions-user plugin-mentions-a" href="/user/lydericc" aria-label="Profile: lydericc">@<bdi>lydericc</bdi></a> )</p>
]]></description><link>https://community.m5stack.com/post/11106</link><guid isPermaLink="true">https://community.m5stack.com/post/11106</guid><dc:creator><![CDATA[revta]]></dc:creator><pubDate>Tue, 08 Dec 2020 03:54:39 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Wed, 02 Dec 2020 01:58:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/revta" aria-label="Profile: revta">@<bdi>revta</bdi></a> Yes, it's seems to be configuration issue in your machine, please try to do the following:</p>
<pre><code>python -m pip install pyserial
</code></pre>
<p dir="auto">See if it can solve the issue for you.</p>
]]></description><link>https://community.m5stack.com/post/10978</link><guid isPermaLink="true">https://community.m5stack.com/post/10978</guid><dc:creator><![CDATA[Zontex]]></dc:creator><pubDate>Wed, 02 Dec 2020 01:58:29 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Tue, 01 Dec 2020 21:07:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
It seems that Arduino IDE is force-using the MacOSX official python package and not any other version installed (even if $PATH or alias in profile force to use python3).</p>
<p dir="auto">I succeed in solving this issue by locating the site-packages of the MacOSX python and forcing an installation of pyserial in this specified target.</p>
<p dir="auto">Step1 - Locate site-packages target :</p>
<pre><code>bash-3.2$ python
Python 2.7.16 (default, Jan 27 2020, 04:46:15)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import sys
&gt;&gt;&gt; print sys.path
[''..., '/Library/Python/2.7/site-packages',...']
&gt;&gt;&gt; 
</code></pre>
<p dir="auto">Step2 - Install pyserial in the desired target</p>
<pre><code>bash-3.2$ sudo pip3 install --target /Library/Python/2.7/site-packages pyserial
</code></pre>
<p dir="auto">Step3 - verify correct installation</p>
<pre><code>bash-3.2$ python
Python 2.7.16 (default, Jan 27 2020, 04:46:15)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import serial
&gt;&gt;&gt; serial
&lt;module 'serial' from '/Library/Python/2.7/site-packages/serial/__init__.py'&gt;
&gt;&gt;&gt;
</code></pre>
<p dir="auto">Everything worked on my side after that.<br />
Hope it helps !<br />
Lydéric</p>
]]></description><link>https://community.m5stack.com/post/10984</link><guid isPermaLink="true">https://community.m5stack.com/post/10984</guid><dc:creator><![CDATA[lydericc]]></dc:creator><pubDate>Tue, 01 Dec 2020 21:07:46 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Tue, 01 Dec 2020 19:17:38 GMT]]></title><description><![CDATA[<p dir="auto">Hello !<br />
I have the same issue on MacOSX Mojave 10.14.6. I updated my terminal profiles, as well as my $PATH to make sure the last version of Python is called :</p>
<pre><code>bash-3.2$ python --version
Python 3.9.0
bash-3.2$ python
Python 3.9.0 (v3.9.0:9cf6752276, Oct  5 2020, 11:29:23)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import serial
&gt;&gt;&gt; serial
&lt;module 'serial' from '/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/serial/__init__.py'&gt;
&gt;&gt;&gt;
</code></pre>
<p dir="auto">However, I still get the following message from Arduino IDE v1.8.13 :</p>
<pre><code>Traceback (most recent call last):
  File "/Users/.../Library/Arduino15/packages/m5stack/tools/esptool_py/3.0.0/esptool.py", line 39, in &lt;module&gt;
    import serial
ImportError: No module named serial
</code></pre>
<p dir="auto">I'm trying to use the new M5Paper so I cannot downgrade to 1.0.5, as the device is not referenced in it !</p>
<p dir="auto">Thanks for your help and your amazing work on M5Paper<br />
Lydéric</p>
]]></description><link>https://community.m5stack.com/post/10983</link><guid isPermaLink="true">https://community.m5stack.com/post/10983</guid><dc:creator><![CDATA[lydericc]]></dc:creator><pubDate>Tue, 01 Dec 2020 19:17:38 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Tue, 01 Dec 2020 15:30:31 GMT]]></title><description><![CDATA[<p dir="auto">When I run that command I get:</p>
<pre><code>python --version
Python 2.7.16
</code></pre>
<p dir="auto">And when  I try to import serial, I get the same error as with the esptool script:</p>
<pre><code>Python 2.7.16 (default, Jan 27 2020, 04:46:15) 
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import serial
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named serial
</code></pre>
<p dir="auto">So it appears that "pip" is symlinked to my python3 install, but "python" is still linked to the v2.7.16 default mac install.</p>
<p dir="auto">Thanks again for your help, will wait for an update!</p>
]]></description><link>https://community.m5stack.com/post/10967</link><guid isPermaLink="true">https://community.m5stack.com/post/10967</guid><dc:creator><![CDATA[revta]]></dc:creator><pubDate>Tue, 01 Dec 2020 15:30:31 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Tue, 01 Dec 2020 05:40:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi, I see now we do have some issues with it, my recommendation is please use version 1.0.4 for now, the only difference is the ESPTool fix for BigSur, it doesn't have any improvements except that.</p>
<p dir="auto">could you please do one last test:</p>
<pre><code>python --version
</code></pre>
<p dir="auto">see what version do you have by default, and then run the <code>python</code> command and inside type <code>import serial</code> see if it gives you any error?</p>
<p dir="auto">I will dig into it and see how we can solve it completely over the next update.</p>
]]></description><link>https://community.m5stack.com/post/10954</link><guid isPermaLink="true">https://community.m5stack.com/post/10954</guid><dc:creator><![CDATA[Zontex]]></dc:creator><pubDate>Tue, 01 Dec 2020 05:40:43 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Tue, 01 Dec 2020 05:05:19 GMT]]></title><description><![CDATA[<p dir="auto">When I did that I got the following message:</p>
<pre><code>pip install pyserial
Requirement already satisfied: pyserial in /usr/local/lib/python3.8/site-packages (3.5)
</code></pre>
<p dir="auto">So it appears that my system is using 3.8 already?</p>
<p dir="auto">I appreciate your help in trying to figure this out!</p>
]]></description><link>https://community.m5stack.com/post/10953</link><guid isPermaLink="true">https://community.m5stack.com/post/10953</guid><dc:creator><![CDATA[revta]]></dc:creator><pubDate>Tue, 01 Dec 2020 05:05:19 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Tue, 01 Dec 2020 01:54:00 GMT]]></title><description><![CDATA[<p dir="auto">Hmm seems like your system might be using python2 by default, would you mind last thing to try:</p>
<pre><code>pip install pyserial
</code></pre>
<p dir="auto">and see if it works?</p>
]]></description><link>https://community.m5stack.com/post/10952</link><guid isPermaLink="true">https://community.m5stack.com/post/10952</guid><dc:creator><![CDATA[Zontex]]></dc:creator><pubDate>Tue, 01 Dec 2020 01:54:00 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Mon, 30 Nov 2020 17:45:59 GMT]]></title><description><![CDATA[<p dir="auto">So I tried your recommendations as suggested:</p>
<ol>
<li>Installed pyserial. Python3 was already installed.</li>
</ol>
<pre><code>'pip3 install pyserial
Collecting pyserial
   Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
 Installing collected packages: pyserial
  Successfully installed pyserial-3.5
</code></pre>
<ol start="2">
<li>Removed 1.0.5 of M5stack from board manager, restarted arduino IDE, Installed 1.0.6, restarted IDE. Get the following error when trying to compile the factory test program:</li>
</ol>
<pre><code>Traceback (most recent call last):
  File "/Users/User1/Library/Arduino15/packages/m5stack/tools/esptool_py/3.0.0/esptool.py", line 39, in &lt;module&gt;
    import serial
ImportError: No module named serial
</code></pre>
]]></description><link>https://community.m5stack.com/post/10947</link><guid isPermaLink="true">https://community.m5stack.com/post/10947</guid><dc:creator><![CDATA[revta]]></dc:creator><pubDate>Mon, 30 Nov 2020 17:45:59 GMT</pubDate></item><item><title><![CDATA[Reply to v1.0.6 of Board Manager not working **Solved** on Mon, 30 Nov 2020 02:56:49 GMT]]></title><description><![CDATA[<p dir="auto">Hello, could you please try to remove M5Stack from the board manager and re-install it, we've fixed the issue last week and it should solve the problem.</p>
<p dir="auto">We've upgraded the library from using python2.7 to python3 which means you might not have pyserial installed in python3, to install please open terminal and type <code>pip3 install pyserial</code> that should install the missing pyserial on your python3 environment.</p>
<p dir="auto">If you get missing pip3 error (you don't have pip3 installed) do the following using terminal:</p>
<pre><code>curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
</code></pre>
<p dir="auto">That should download and install pip using python3.</p>
]]></description><link>https://community.m5stack.com/post/10936</link><guid isPermaLink="true">https://community.m5stack.com/post/10936</guid><dc:creator><![CDATA[Zontex]]></dc:creator><pubDate>Mon, 30 Nov 2020 02:56:49 GMT</pubDate></item></channel></rss>