Search found 7 matches
- Sun Oct 24, 2021 5:58 am
- Forum: Programs, Libraries and Tools
- Topic: Install aioble with upip?
- Replies: 18
- Views: 111165
Re: Install aioble with upip?
I think that the first command assumed that the current directory was /pyboard. Using /pyboard/aioble eliminates the current directory from the equation (i.e. it will work regardless of the current directory is). And to be clear, I'm saying that this: cd /pyboard cp /opt/micropython-lib/micropython...
- Thu Oct 21, 2021 8:28 am
- Forum: Programs, Libraries and Tools
- Topic: Install aioble with upip?
- Replies: 18
- Views: 111165
Re: Install aioble with upip?
When the files are copied to /pyboard/ then you should be able to do: cd /pyboard repl Ctrl-D import aioble Then we can deal with the errors that arise from that. Finally got it all working. Thanks for your interest and help. I *was sure* I have tried this before, but here is what worked this time....
- Thu Oct 21, 2021 8:12 am
- Forum: Programs, Libraries and Tools
- Topic: Install aioble with upip?
- Replies: 18
- Views: 111165
Re: Install aioble with upip?
If I copy to then I get this error:
Code: Select all
__init__.py
Code: Select all
aioble.py
Code: Select all
>>> import aioble.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "aioble.py", line 6, in <module>
ImportError: can't perform relative import
- Thu Oct 21, 2021 7:41 am
- Forum: Programs, Libraries and Tools
- Topic: Install aioble with upip?
- Replies: 18
- Views: 111165
Re: Install aioble with upip?
Thanks for your help. All of the files from that folder are in /pyboard /pyboard> ls lib/ ble_temperature.py bt_test.py core.py main.py server.py __init__.py boot.py central.py device.py peripheral.py test2.py ble_advertising.py bt_irq.py client.py l2cap.py security.py wifi.py /pyboard> repl Enterin...
- Thu Oct 21, 2021 6:49 am
- Forum: Programs, Libraries and Tools
- Topic: Install aioble with upip?
- Replies: 18
- Views: 111165
Re: Install aioble with upip?
Or are you asking how to use rshell to copy any files to your device? Yes, I am asking how to install the aioble library onto the device. You can tell I am not a python developer, I just use python to get networking things working. Copy a file called "aioble.py" and then "import aioble" was what I ...
- Wed Oct 20, 2021 9:21 pm
- Forum: Programs, Libraries and Tools
- Topic: Install aioble with upip?
- Replies: 18
- Views: 111165
Re: Install aioble with upip?
Thanks for the reply, but that thread already assumes the aioble libraries are installed.
I am asking how to install them
--P
I am asking how to install them
--P
- Wed Oct 20, 2021 9:22 am
- Forum: Programs, Libraries and Tools
- Topic: Install aioble with upip?
- Replies: 18
- Views: 111165
Install aioble with upip?
Should I be able to add the 'aioble' library to esp32 with upip?
If not, what is the recommended method?
I am using rshell already
Thanks
If not, what is the recommended method?
I am using rshell already
Thanks