help me please. How can I solve this?
1. Installing Micropython
---------------------------------------------------------------
lash_size=detect 0 esp8266-20180511-v1.9.4.bin
esptool.py v2.5.1
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 84:f3:eb:18:7b:15
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 604872 bytes to 394893...
Wrote 604872 bytes (394893 compressed) at 0x00000000 in 8.9 seconds (effective 542.6 kbit/s)...
Hash of data verified.
-----------------------------------------------------------------------
2. installing picoweb
-----------------------------------------------------------------------
>>> upip.install('picoweb')
Installing to: /lib/
Error installing 'picoweb': memory allocation failed, allocating 7592 bytes, packages may be partially installed
------------------------------------------------------------------------
Correct me: Lack of memory?
esp8266 + picoweb
- andrequeiroz
- Posts: 9
- Joined: Tue Dec 04, 2018 11:07 pm
- Location: Foz do Iguacu - Brasil
- Contact:
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: esp8266 + picoweb
It looks like the package is too big to install with upip. You could try using micropip to download the files to a PC, then copy them to the ESP8266 using rshell or similar. Micropip may be found in this repo.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
- andrequeiroz
- Posts: 9
- Joined: Tue Dec 04, 2018 11:07 pm
- Location: Foz do Iguacu - Brasil
- Contact:
Re: esp8266 + picoweb
Hi friend, thanks for the attention, and sorry for the beginner questions.
How should I install the micropip?
How should I install the micropip?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: esp8266 + picoweb
Copy the file to your PC and run it under Python 3.2 or later as per the README file.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.