Open
Open
@leenowell

Description

Hi All,

I am new to micropython and am trying to install the aioble library to my esp8266. Looking online it seems that I need to connect the board to my local network and then use mip to install it in repl.

I am using the following commands

> import mip
> mip.install("aioble")

It copies across a few files then I get the following error message

>>> mip.install("aioble")
Installing aioble (latest) from https://micropython.org/pi/v2 to /lib
Exists: /lib/aioble/__init__.mpy
Exists: /lib/aioble/core.mpy
Exists: /lib/aioble/device.mpy
Exists: /lib/aioble/peripheral.mpy
Exists: /lib/aioble/server.mpy
Exists: /lib/aioble/central.mpy
Exists: /lib/aioble/client.mpy
Exists: /lib/aioble/l2cap.mpy
Exists: /lib/aioble/security.mpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "mip/__init__.py", line 1, in install
  File "mip/__init__.py", line 1, in _install_package
  File "mip/__init__.py", line 1, in _install_json
AttributeError: 'str' object has no attribute 'rpartition'

The micropython firmware I downloaded was - ESP8266_GENERIC-20250415-v1.25.0.bin

Is there a bug in the library?

Many thanks in advance