NOTE - as this is my first post I have had to replace the slashes in links with ‘=’!
I was following the instructions to upgrade the WiFi software from the https:==wiki.seeedstudio.com=Wio-Terminal-Network-Overview= page and hit a few problems.
- Intel Mac mini running OS Catalina 10.15.7
- Python 3.8.2
- Path = /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Users/andrew/Library/Python/3.8/bin
First the commands reported an error unless I ran them using SUDO:
sudo python3 ambd_flash_tool.py erase
sudo python3 ambd_flash_tool.py flash -d =Users=andrew=Downloads=20201201-seeed-ambd-firmware-rpc-v2.0.3
On doing this, I finally managed to get the ambd_flash_tool.py installed and the firmware copied over to the device with a success message and closure of the tool being reported.
That left me with the Burn RLT8720 fw message on the screen but I cleared this by loading the ArduPy Firmware from https:==wiki.seeedstudio.com=ArduPy=
Trying to build the aip package using pip3 gives me a Successfully installed ardupy-aip-0.8.1 with the package installed in =Users=andrew=Library=Python=3.8=bin
I add this to the path by adding this line to .zshrc:
export PATH=$PATH:=Users=andrew=Library=Python=3.8=bin
and then restarted the terminal shell to bing this in to play.
Next running aip help
reported the following error:
Traceback (most recent call last):
File “=Users=andrew=Library=Python=3.8=bin=aip”, line 5, in
from aip.main import main
File “=Users=andrew=Library=Python=3.8=lib=python=site-packages=aip=main.py”, line 39, in
from aip.parser import parser
File “=Users=andrew=Library=Python=3.8=lib=python=site-packages=aip=parser.py”, line 465, in
parser = Parser()
File “=Users=andrew=Library=Python=3.8=lib=python=site-packages=aip=parser.py”, line 73, in init
os.mkdir(self.user_config_dir)
FileNotFoundError: [Errno 2] No such file or directory: ‘=Users=andrew=.config=aip’
Creating the .config directory (mkdir =Users=andrew=.config) lets aip help
get a bit further:
update local board json…
http:==files.seeedstudio.com=ardupy=package_new_seeeduino_ardupy_index.json
done!
Traceback (most recent call last):
File “=Users=andrew=Library=Python=3.8=bin=aip”, line 8, in
sys.exit(main())
File “=Users=andrew=Library=Python=3.8=lib=python=site-packages=aip=main.py”, line 52, in main
from aip.command import commands_dict, parse_command
File “=Users=andrew=Library=Python=3.8=lib=python=site-packages=aip=command.py”, line 46, in
from aip.build import buildCommand
File “=Users=andrew=Library=Python=3.8=lib=python=site-packages=aip=build.py”, line 34, in
from pip._internal.operations.prepare import (
ImportError: cannot import name ‘_download_http_url’ from ‘pip._internal.operations.prepare’ (=Library=Python=3.8=site-packages=pip=_internal=operations=prepare.py)
A check for http with grep http =Library=Python=3.8=site-packages=pip=_internal=operations=prepare.py
only shows:
def get_http_url(
# See discussion at https:==github.com=pypa=pip=pull=6770
# http urls
file = get_http_url(
Any thoughts?